java.lang.Object
com.ibm.jzos.FileAttribute.Tag
- Enclosing class:
- FileAttribute
Represents a USS file tag.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsConstructorDescriptionTag
(char characterSetID, boolean textFlag) Constructor to hold file tagging information. -
Method Summary
Modifier and TypeMethodDescriptionchar
Get the code character set ID of this tag.boolean
Test whether this tag indicates a pure text file.
-
Field Details
-
CCSID_ISO_8859_1
public static final char CCSID_ISO_8859_1Code character set identifier for the ISO8859-1 code page.- See Also:
-
CCSID_IBM_1047
public static final char CCSID_IBM_1047Code 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 tagtextFlag
- 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.
-