Class CardFileAppID

    • Constructor Detail

      • CardFileAppID

        public CardFileAppID​(java.lang.String comp)
        Instantiate an application ID path component.
        Parameters:
        comp - The String containing the path component.
    • Method Detail

      • toByteArray

        public byte[] toByteArray()
        Return a byte array representing this application ID.
        Returns:
        A byte array containing the application ID.
        Throws:
        CardIOException - Thrown when we cannot extract the bytes from the component using the ISO 8859-1 encoding.
      • equals

        public boolean equals​(java.lang.Object comp)
        Compare two application ID components.
        Overrides:
        equals in class CardFilePathComponent
        Parameters:
        comp - An object of type CardFileAppID.
        Returns:
        True if comp is of type CardFileAppID and describes the same path component.
      • hashCode

        public int hashCode()
        Return a hashcode for this application ID
        Overrides:
        hashCode in class java.lang.Object