public class NullCharacterInput extends CharacterInput
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
charLength, hashValue, stream| Constructor and Description |
|---|
NullCharacterInput()
Construct from nothing.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateHashValue()
Calculate the datum's hash value
|
protected void |
calculateLength()
Calculate the datum's length in characters
|
protected void |
closeStream()
Close any open reader
|
void |
discard()
Discard this object permanently
|
void |
doneWithStream()
Close any open streams, but do NOT remove the backing object.
|
long |
getCharacterLength() |
String |
getHashValue() |
Reader |
getStream() |
InputStream |
getUtf8Stream()
Open a Utf8 stream directly
|
long |
getUtf8StreamLength()
Get binary UTF8 stream length directly
|
protected void |
openStream()
Open a reader, for use by a caller, until closeStream is called
|
CharacterInput |
transfer()
Transfer to a new object; this causes the current object to become "already discarded"
|
handleIOExceptionpublic static final String _rcsid
public Reader getStream() throws ManifoldCFException
getStream in class CharacterInputManifoldCFExceptionpublic void doneWithStream()
throws ManifoldCFException
PersistentDatabaseObjectdoneWithStream in class CharacterInputManifoldCFExceptionpublic long getCharacterLength()
throws ManifoldCFException
getCharacterLength in class CharacterInputManifoldCFExceptionpublic String getHashValue() throws ManifoldCFException
getHashValue in class CharacterInputManifoldCFExceptionpublic InputStream getUtf8Stream() throws ManifoldCFException
getUtf8Stream in class CharacterInputManifoldCFExceptionpublic long getUtf8StreamLength()
throws ManifoldCFException
getUtf8StreamLength in class CharacterInputManifoldCFExceptionpublic CharacterInput transfer()
transfer in class CharacterInputpublic void discard()
throws ManifoldCFException
discard in class CharacterInputManifoldCFExceptionprotected void openStream()
throws ManifoldCFException
openStream in class CharacterInputManifoldCFExceptionprotected void closeStream()
throws ManifoldCFException
closeStream in class CharacterInputManifoldCFExceptionprotected void calculateLength()
throws ManifoldCFException
calculateLength in class CharacterInputManifoldCFExceptionprotected void calculateHashValue()
throws ManifoldCFException
calculateHashValue in class CharacterInputManifoldCFException