public class ExtendedTimestampCentralExtraField extends BaseExtraField
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedTimestampCentralExtraField.Builder
Builder for @{link ExtendedTimestampCentralExtraField}.
|
Modifier and Type | Field and Description |
---|---|
static int |
EXPECTED_ID |
static int |
EXTRA_MINIMUM_SIZE |
static int |
TIME_ACCESSED_FLAG |
static int |
TIME_CREATED_FLAG |
static int |
TIME_MODIFIED_FLAG |
Constructor and Description |
---|
ExtendedTimestampCentralExtraField(int size,
int flags,
Long time) |
Modifier and Type | Method and Description |
---|---|
static ExtendedTimestampCentralExtraField.Builder |
builder()
Make a builder for this class.
|
int |
getFlags() |
Long |
getTime()
Optional time value or null if none.
|
boolean |
isTimeAccessed() |
boolean |
isTimeCreated() |
boolean |
isTimeModified() |
static ExtendedTimestampCentralExtraField |
read(InputStream inputStream,
int id,
int size)
Read in the rest of the Zip64ExtraField after the id is read.
|
void |
write(OutputStream outputStream)
Write extra-field to the output-stream.
|
getExtraFieldBytes, getExtraSize, getId, validate
public static final int EXPECTED_ID
public static final int EXTRA_MINIMUM_SIZE
public static final int TIME_MODIFIED_FLAG
public static final int TIME_ACCESSED_FLAG
public static final int TIME_CREATED_FLAG
public ExtendedTimestampCentralExtraField(int size, int flags, Long time)
public static ExtendedTimestampCentralExtraField.Builder builder()
public static ExtendedTimestampCentralExtraField read(InputStream inputStream, int id, int size) throws IOException
IOException
public void write(OutputStream outputStream) throws IOException
write
in class BaseExtraField
IOException
public int getFlags()
public Long getTime()
public boolean isTimeModified()
public boolean isTimeAccessed()
public boolean isTimeCreated()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.