Package com.infinitekind.util
Interface StreamObject
- All Known Implementing Classes:
StreamTable
,StreamVector
public interface StreamObject
Interface for objects that can be read/written to and
from streams.
-
Method Summary
Modifier and Type Method Description boolean
isStreamTable()
boolean
isStreamVector()
void
readFrom(java.io.Reader str)
void
readFrom(java.lang.String str)
void
readTheRest(java.io.Reader str)
void
writeTo(java.io.Writer out)
void
writeTo(java.io.Writer out, java.lang.String prefix)
java.lang.String
writeToString()
-
Method Details
-
isStreamTable
boolean isStreamTable() -
isStreamVector
boolean isStreamVector() -
readFrom
- Throws:
StringEncodingException
java.io.IOException
-
readFrom
- Throws:
StringEncodingException
java.io.IOException
-
readTheRest
- Throws:
StringEncodingException
java.io.IOException
-
writeToString
java.lang.String writeToString() -
writeTo
void writeTo(java.io.Writer out) throws java.io.IOException- Throws:
java.io.IOException
-
writeTo
void writeTo(java.io.Writer out, java.lang.String prefix) throws java.io.IOException- Throws:
java.io.IOException
-