public static class GridFile.Metadata extends java.lang.Object implements Streamable
构造器和说明 |
---|
GridFile.Metadata() |
GridFile.Metadata(int length,
long modification_time,
int chunk_size,
byte flags) |
限定符和类型 | 方法和说明 |
---|---|
int |
getChunkSize() |
int |
getLength() |
long |
getModificationTime() |
boolean |
isDirectory() |
boolean |
isFile() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
void |
setLength(int length) |
void |
setModificationTime(long modification_time) |
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public GridFile.Metadata()
public GridFile.Metadata(int length, long modification_time, int chunk_size, byte flags)
public int getLength()
public void setLength(int length)
public long getModificationTime()
public void setModificationTime(long modification_time)
public int getChunkSize()
public boolean isFile()
public boolean isDirectory()
public java.lang.String toString()
toString
在类中 java.lang.Object
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
writeTo
在接口中 Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
readFrom
在接口中 Streamable
java.lang.Exception