public static class USADriveIdCodetext.SubfileProperties
extends java.lang.Object
USA DL subfile properties, offset and length are set automatically.
| Constructor and Description |
|---|
SubfileProperties(java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
4 These bytes contain a 4 digit numeric value that specifies
the length of the Subfile in bytes.The segment terminator must be
included in calculating the length of the subfile.A segment terminator
= 1.
|
int |
getOffset()
4 digit numeric value that specifies
the number of bytes from the head or beginning of the file to where
the data related to the particular sub-file is located.The first byte in
the file is located at offset 0.
|
java.lang.String |
getType()
2 byte type of subfile, like "DL"
|
void |
setLength(int value)
4 These bytes contain a 4 digit numeric value that specifies
the length of the Subfile in bytes.The segment terminator must be
included in calculating the length of the subfile.A segment terminator
= 1.
|
void |
setOffset(int value)
4 digit numeric value that specifies
the number of bytes from the head or beginning of the file to where
the data related to the particular sub-file is located.The first byte in
the file is located at offset 0.
|
void |
setType(java.lang.String value)
2 byte type of subfile, like "DL"
|
public final java.lang.String getType()
2 byte type of subfile, like "DL"
public final void setType(java.lang.String value)
2 byte type of subfile, like "DL"
public final int getOffset()
4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data related to the particular sub-file is located.The first byte in the file is located at offset 0.
public final void setOffset(int value)
4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data related to the particular sub-file is located.The first byte in the file is located at offset 0.
public final int getLength()
4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator must be included in calculating the length of the subfile.A segment terminator = 1. Each subfile must begin with the two-character Subfile Type and these two characters must also be included in the length.
public final void setLength(int value)
4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator must be included in calculating the length of the subfile.A segment terminator = 1. Each subfile must begin with the two-character Subfile Type and these two characters must also be included in the length.