net.jqhome.jwps.ea.standard
Class SubjectEA

java.lang.Object
  |
  +--net.jqhome.jwps.ea.AbstractEA
        |
        +--net.jqhome.jwps.ea.StringEA
              |
              +--net.jqhome.jwps.ea.standard.SubjectEA

public class SubjectEA
extends StringEA

This EA gives a short summary of the content or purpose of the file for the user. It is maintained by the system, but not used by it.

Note: the documentation states that this must be less than 40 characters, but that is not the case. The usual restrictions on length apply, although keeping it short is a jolly good idea.


Field Summary
 
Fields inherited from class net.jqhome.jwps.ea.AbstractEA
EA_NAME_ASSOCIATION_TABLE, EA_NAME_CODEPAGE, EA_NAME_COMMENTS, EA_NAME_HISTORY, EA_NAME_ICON, EA_NAME_ICON1, EA_NAME_KEYPHRASES, EA_NAME_LONGNAME, EA_NAME_SUBJECT, EA_NAME_TYPE, EA_NAME_VERSION, XML_EA_B64_ENCODING, XML_EA_CODEPAGE_TAGNAME, XML_EA_ENCODING_TYPE_TAGNAME, XML_EA_FILE_TAGNAME, XML_EA_IS_CRITICAL_TAGNAME, XML_EA_LIST_TAGNAME, XML_EA_NAME_TAGNAME, XML_EA_TAGNAME, XML_EA_TEXT_ENCODING, XML_EA_TYPE_TAGNAME, XML_EA_VALUE_TAGNAME
 
Constructor Summary
SubjectEA()
           
SubjectEA(RawEA rEA)
           
SubjectEA(java.lang.String value)
           
 
Method Summary
 boolean isCritical()
          Returns if this EA is marked as critical.
 void setCritical(boolean value)
           
 
Methods inherited from class net.jqhome.jwps.ea.StringEA
equals, fromRawEA, getRawEASize, getValue, setValue, setValue, setValue, toRawEA, toString, toXML, valueSize
 
Methods inherited from class net.jqhome.jwps.ea.AbstractEA
fileToBytes, getName, getType, isUserDefined, setName, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubjectEA

public SubjectEA()
          throws JWPException

SubjectEA

public SubjectEA(java.lang.String value)
          throws JWPException

SubjectEA

public SubjectEA(RawEA rEA)
          throws JWPException
Method Detail

isCritical

public boolean isCritical()
Description copied from class: AbstractEA
Returns if this EA is marked as critical. Note that critical here means that the applications that use this EA will not be able to function without it. Yes, you can edit or delete them as you like. All that this means is that some application needs it. The honor system is in effect to leave other applications EAs alone especially if they are critical.

Overrides:
isCritical in class AbstractEA

setCritical

public void setCritical(boolean value)
                 throws JWPException
Overrides:
setCritical in class AbstractEA
Throws:
JWPException - if an attempt is made to set the value to anything but false since this EA is not critical.