Package com.metratec.lib.tag
Class HFTagInformation
- java.lang.Object
-
- com.metratec.lib.tag.HFTagInformation
-
public class HFTagInformation extends java.lang.Object
Class which contains the HF Tag Information- Author:
- Matthias Neumann (neumann@metratec.com)
-
-
Constructor Summary
Constructors Constructor Description HFTagInformation(java.lang.String tagID)
Construct a new HF tag informationHFTagInformation(java.lang.String tagID, boolean isDSFIDSupported, int dsfid, boolean isAFISupported, int afi, boolean isMemorySizeSupported, int numberOfBlocks, int blockSize, boolean isICReferenceSupported, int icReference)
Construct a new HF tag information
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAFI()
int
getBlockSize()
int
getDSFID()
int
getICReference()
int
getMemorySize()
int
getNumberOfBlocks()
java.lang.String
getTagID()
return the tag idboolean
isAFISupported()
boolean
isDSFIDSupported()
boolean
isICReferenceSupported()
boolean
isMemorySizeSupported()
java.lang.String
toString()
-
-
-
Constructor Detail
-
HFTagInformation
public HFTagInformation(java.lang.String tagID)
Construct a new HF tag information- Parameters:
tagID
- tag id
-
HFTagInformation
public HFTagInformation(java.lang.String tagID, boolean isDSFIDSupported, int dsfid, boolean isAFISupported, int afi, boolean isMemorySizeSupported, int numberOfBlocks, int blockSize, boolean isICReferenceSupported, int icReference)
Construct a new HF tag information- Parameters:
tagID
- tag idisDSFIDSupported
- is DSFID supporteddsfid
- dsfid byteisAFISupported
- is AFI supportedafi
- afi byteisMemorySizeSupported
- is memory size supportednumberOfBlocks
- number of blocksblockSize
- block sizeisICReferenceSupported
- is reference supportedicReference
- ic reference
-
-
Method Detail
-
getTagID
public java.lang.String getTagID()
return the tag id- Returns:
- tag id
-
isDSFIDSupported
public boolean isDSFIDSupported()
- Returns:
- true if the Data storage format identifier is supported by the tag
-
getDSFID
public int getDSFID()
- Returns:
- the Data storage format identifier
-
isAFISupported
public boolean isAFISupported()
- Returns:
- true if the Application family identifier is supported by the tag
-
getAFI
public int getAFI()
- Returns:
- the Application family identifier
-
isMemorySizeSupported
public boolean isMemorySizeSupported()
- Returns:
- true if the vicinity integrated circuit card memory size is supported by the tag
-
getMemorySize
public int getMemorySize()
- Returns:
- the vicinity integrated circuit card memory size
-
getBlockSize
public int getBlockSize()
- Returns:
- the vicinity integrated circuit card block size
-
getNumberOfBlocks
public int getNumberOfBlocks()
- Returns:
- the vicinity integrated circuit card number of blocks
-
isICReferenceSupported
public boolean isICReferenceSupported()
- Returns:
- true if the IC Reference is supported by the tag
-
getICReference
public int getICReference()
- Returns:
- the IC Reference
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-