Package com.zeroc.IcePatch2
Class FileInfo
java.lang.Object
com.zeroc.IcePatch2.FileInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Basic information about a single file.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
The SHA-1 checksum of the file.boolean
The executable flag.The pathname.int
The size of the compressed file in number of bytes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static FileInfo
ice_read
(InputStream istr) ice_read
(InputStream istr, int tag) void
ice_readMembers
(InputStream istr) static void
ice_write
(OutputStream ostr, int tag, FileInfo v) static void
ice_write
(OutputStream ostr, int tag, Optional<FileInfo> v) static void
ice_write
(OutputStream ostr, FileInfo v) void
ice_writeMembers
(OutputStream ostr)
-
Field Details
-
path
The pathname. -
checksum
public byte[] checksumThe SHA-1 checksum of the file. -
size
public int sizeThe size of the compressed file in number of bytes. -
executable
public boolean executableThe executable flag.
-
-
Constructor Details
-
FileInfo
public FileInfo() -
FileInfo
-
-
Method Details