USADriveIdCodetext.SubfileProperties

Inheritance: java.lang.Object

public static class USADriveIdCodetext.SubfileProperties

USA DL subfile properties, offset and length are set automatically.

Constructors

ConstructorDescription
SubfileProperties(String type)

Methods

MethodDescription
equals(Object arg0)
getClass()
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.
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.
getType()2 byte type of subfile, like “DL”
hashCode()
notify()
notifyAll()
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.
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.
setType(String value)2 byte type of subfile, like “DL”
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

SubfileProperties(String type)

public SubfileProperties(String type)

Parameters:

ParameterTypeDescription
typejava.lang.String

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLength()

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.

Returns: int

getOffset()

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.

Returns: int

getType()

public final String getType()

2 byte type of subfile, like “DL”

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setLength(int value)

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.

Parameters:

ParameterTypeDescription
valueint

setOffset(int value)

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.

Parameters:

ParameterTypeDescription
valueint

setType(String value)

public final void setType(String value)

2 byte type of subfile, like “DL”

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int