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 intcompareTo(Object o)booleanequals(Object obj)protected voidfinalize()static BinaryDatafromString(String s)InputStreamgetInputStream()StringgetName()StringtoString()
-
-
-
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:
compareToin interfaceComparable<Object>
-
fromString
public static BinaryData fromString(String s) throws IOException
- Throws:
IOException
-
-