Class HFTagInformation


  • public class HFTagInformation
    extends java.lang.Object
    Class which contains the HF Tag Information
    Author:
    Matthias Neumann (neumann@metratec.com)
    • 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 id
        isDSFIDSupported - is DSFID supported
        dsfid - dsfid byte
        isAFISupported - is AFI supported
        afi - afi byte
        isMemorySizeSupported - is memory size supported
        numberOfBlocks - number of blocks
        blockSize - block size
        isICReferenceSupported - is reference supported
        icReference - 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 class java.lang.Object