com.ibm.jzos

Class FileAttribute.Tag

  • java.lang.Object
    • com.ibm.jzos.FileAttribute.Tag
  • Enclosing class:
    FileAttribute


    public static final class FileAttribute.Tag
    extends java.lang.Object
    Represents a USS file tag.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static char CCSID_IBM_1047
      Code character set identifier for the IBM-1047 EBCDIC code page.
      static char CCSID_ISO_8859_1
      Code character set identifier for the ISO8859-1 code page.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Tag(char characterSetID, boolean textFlag)
      Constructor to hold file tagging information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      char getCodeCharacterSetID()
      Get the code character set ID of this tag.
      boolean isTextOnly()
      Test whether this tag indicates a pure text file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CCSID_ISO_8859_1

        public static final char CCSID_ISO_8859_1
        Code character set identifier for the ISO8859-1 code page.
        See Also:
        Constant Field Values
      • CCSID_IBM_1047

        public static final char CCSID_IBM_1047
        Code character set identifier for the IBM-1047 EBCDIC code page.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Tag

        public Tag(char characterSetID,
                   boolean textFlag)
        Constructor to hold file tagging information.
        Parameters:
        characterSetID - the code character set ID of the tag
        textFlag - whether the file contains pure text
    • Method Detail

      • getCodeCharacterSetID

        public char getCodeCharacterSetID()
        Get the code character set ID of this tag.
        Returns:
        the code character set ID.
      • isTextOnly

        public boolean isTextOnly()
        Test whether this tag indicates a pure text file.
        Returns:
        true if this tag indicates a pure text file, false otherwise.
� Copyright IBM Corporation 2005, 2022.