Module ibm.jzos
Package com.ibm.jzos

Class FileAttribute.Tag

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

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

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

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

    Modifier and Type
    Method
    Description
    char
    Get the code character set ID of this tag.
    boolean
    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 Details

    • CCSID_ISO_8859_1

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

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

    • 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 Details

    • 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.