com.ecebs.rtd.enabler.types.itso
Class IPEDirEntry
java.lang.Object
com.ecebs.rtd.enabler.types.itso.IPEDirEntry
- All Implemented Interfaces:
- DirEntry, Serializable
public class IPEDirEntry
- extends Object
- implements DirEntry
Represents a directory entry within an ITSO Directory File
- Author:
- kyleb
- See Also:
- Serialized Form
Constructor Summary |
IPEDirEntry(byte[] dirEntry,
int offset,
int dirIndex)
Parses from the provided byte array, starting at the given offset |
DIR_ENTRY_LEN
public static final int DIR_ENTRY_LEN
- See Also:
- Constant Field Values
IPEDirEntry
public IPEDirEntry(byte[] dirEntry,
int offset,
int dirIndex)
throws IndexOutOfBoundsException
- Parses from the provided byte array, starting at the given offset
- Parameters:
dirEntry
- byte array to parse fromoffset
- index to start parsing at
- Throws:
IndexOutOfBoundsException
isExtendedOIDs
public boolean isExtendedOIDs()
getOID
public short getOID()
getTYP
public short getTYP()
- Specified by:
getTYP
in interface DirEntry
getPTYP
public byte getPTYP()
getHasValueGroup
public boolean getHasValueGroup()
isDifferentIIN
public boolean isDifferentIIN()
getExpiryDate
public Calendar getExpiryDate()
getProductState
public IPEDirEntry.ProductState getProductState()
getIndex
public int getIndex()
- Specified by:
getIndex
in interface DirEntry
getIPEStartingSector
public int getIPEStartingSector()
- Specified by:
getIPEStartingSector
in interface DirEntry
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Ecebs Ltd. All Rights Reserved.