Package com.soffid.iam.api
Class BinaryData
- java.lang.Object
-
- com.soffid.iam.api.BinaryData
-
- All Implemented Interfaces:
Serializable
,Comparable<Object>
public class BinaryData extends Object implements Comparable<Object>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryData(String name, byte[] data)
BinaryData(String name, InputStream in)
BinaryData(String name, Reader in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
boolean
equals(Object obj)
protected void
finalize()
static BinaryData
fromString(String s)
InputStream
getInputStream()
String
getName()
String
toString()
-
-
-
Constructor Detail
-
BinaryData
public BinaryData(String name, byte[] data) throws IOException
- Throws:
IOException
-
BinaryData
public BinaryData(String name, InputStream in) throws IOException
- Throws:
IOException
-
BinaryData
public BinaryData(String name, Reader in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getName
public String getName()
-
getInputStream
public InputStream getInputStream() throws FileNotFoundException
- Throws:
FileNotFoundException
-
finalize
protected void finalize() throws Throwable
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable<Object>
-
fromString
public static BinaryData fromString(String s) throws IOException
- Throws:
IOException
-
-