![JAR search and dependency download from the Maven repository](/logo.png)
net.cnri.util.StreamObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of handle Show documentation
Show all versions of handle Show documentation
CNRI Handle.net Software (Permission granted for redistribution by Giridhar Manepalli at CNRI)
/**********************************************************************\
© COPYRIGHT 2019 Corporation for National Research Initiatives (CNRI);
All rights reserved.
The HANDLE.NET software is made available subject to the
Handle.Net Public License Agreement, which may be obtained at
http://hdl.handle.net/20.1000/112 or hdl:20.1000/112
\**********************************************************************/
package net.cnri.util;
import java.io.*;
/** Interface for objects that can be read/written to and from streams.
*/
public interface StreamObject {
public boolean isStreamTable();
public boolean isStreamVector();
public void readFrom(String str) throws StringEncodingException, IOException;
public void readFrom(Reader str) throws StringEncodingException, IOException;
public void readTheRest(Reader str) throws StringEncodingException, IOException;
public String writeToString();
public void writeTo(Writer out) throws IOException;
public void writeTo(Writer out, int indentLevel) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy