Package org.iplass.mtp.definition.binary
Class FileBinaryDefinition
java.lang.Object
org.iplass.mtp.definition.binary.FileBinaryDefinition
- All Implemented Interfaces:
Serializable
,BinaryDefinition
- Direct Known Subclasses:
FileArchiveBinaryDefinition
FileのPathを指定してBinaryDefinitionを指し示す為のクラス。
- See Also:
-
Field Details
-
file
-
-
Constructor Details
-
FileBinaryDefinition
public FileBinaryDefinition() -
FileBinaryDefinition
-
-
Method Details
-
getName
Description copied from interface:BinaryDefinition
バイナリ形式の定義の名称。- Specified by:
getName
in interfaceBinaryDefinition
- Returns:
-
getSize
public long getSize()Description copied from interface:BinaryDefinition
バイナリのサイズ。- Specified by:
getSize
in interfaceBinaryDefinition
- Returns:
-
getInputStream
Description copied from interface:BinaryDefinition
バイナリデータのInputStream。- Specified by:
getInputStream
in interfaceBinaryDefinition
- Returns:
-
finalize
-