com.zipxap.vfs
Class SectorType
java.lang.Object
com.zipxap.vfs.SectorType
public class SectorType
- extends java.lang.Object
This class is intended to be used much like an enum. You cannot instantiate new instances of this class.
| Milestone | Who | Date, Time |
| Initial Version | K Penrose | June 2009 |
** Note that this table is not intended as an exhaustive list
of subtle changes. It is intended to list changes that break the
compatibility of older code, or major enhancements/rewrites
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HEADER_SECTOR_SIZE
public static final int HEADER_SECTOR_SIZE
- See Also:
- Constant Field Values
SMALL_SECTOR_SIZE
public static final int SMALL_SECTOR_SIZE
- See Also:
- Constant Field Values
MEDIUM_SECTOR_SIZE
public static final int MEDIUM_SECTOR_SIZE
- See Also:
- Constant Field Values
LARGE_SECTOR_SIZE
public static final int LARGE_SECTOR_SIZE
- See Also:
- Constant Field Values
GIANT_SECTOR_SIZE
public static final int GIANT_SECTOR_SIZE
- See Also:
- Constant Field Values
JUMBO_SECTOR_SIZE
public static final int JUMBO_SECTOR_SIZE
- See Also:
- Constant Field Values
HEADER
public static final SectorType HEADER
HEADER_EMPTY
public static final SectorType HEADER_EMPTY
SMALL
public static final SectorType SMALL
SMALL_EMPTY
public static final SectorType SMALL_EMPTY
MEDIUM
public static final SectorType MEDIUM
MEDIUM_EMPTY
public static final SectorType MEDIUM_EMPTY
LARGE
public static final SectorType LARGE
LARGE_EMPTY
public static final SectorType LARGE_EMPTY
GIANT
public static final SectorType GIANT
GIANT_EMPTY
public static final SectorType GIANT_EMPTY
JUMBO
public static final SectorType JUMBO
JUMBO_EMPTY
public static final SectorType JUMBO_EMPTY
getSectorTypeCode
public byte getSectorTypeCode()
- Returns:
- the _sectorTypeCode
getSectorTypeName
public java.lang.String getSectorTypeName()
- Returns:
- the _sectorTypeName
getSectorSize
public int getSectorSize()
- Returns:
- the _sectorSize
getNextSectorLocationOffset
public int getNextSectorLocationOffset()
isEmpty
public boolean isEmpty()
getMatchingNonEmptySectorType
public SectorType getMatchingNonEmptySectorType()
getMatchingEmptySectorType
public SectorType getMatchingEmptySectorType()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getSectorTypeForCode
public static SectorType getSectorTypeForCode(byte code)
- Retrieve the SectorType associated with the specified code.
- Parameters:
code -
- Returns:
- the SectorType associated with the specified code
- Throws:
UCException - if the specified code does not correspond to a valid SectorType.