public abstract class File extends Invocation implements HasText
Modifier and Type | Field and Description |
---|---|
protected String |
m_hexbyte
optional first 16 byte of file, or less if shorter.
|
Constructor and Description |
---|
File()
Default c'tor: Construct a hollow shell and allow further
information to be added later.
|
File(String value)
C'tor: Constructs the value in the base class.
|
Modifier and Type | Method and Description |
---|---|
void |
appendValue(String fragment)
Appends a piece of text to the existing text.
|
String |
getValue()
Accessor
|
void |
setValue(String hexbyte)
Accessor.
|
void |
toString(Writer stream)
Converts the active state into something meant for human consumption.
|
protected String m_hexbyte
public File()
public File(String value)
value
- is all or part of the hex bytes.public void appendValue(String fragment)
appendValue
in interface HasText
fragment
- is a piece of text to append to existing text.
Appending null
is a noop.public String getValue()
getValue
in interface HasText
setValue(String)
public void setValue(String hexbyte)
setValue
in interface HasText
hexbyte
- getValue()
public void toString(Writer stream) throws IOException
toString
in class org.griphyn.vdl.Chimera
stream
- is a stream opened and ready for writing. This can also
be a string stream for efficient output.IOException
- if something fishy happens to the stream.