java.lang.Object
com.ibm.jzos.PdsDirectory.MemberInfo
- Enclosing class:
- PdsDirectory
A static inner class of
PdsDirectory
which defines/maps a
member directory entry.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
A nested inner class of MemberInfo which defines/maps ISPF directory entry statistics. -
Constructor Summary
ConstructorsConstructorDescriptionMemberInfo
(byte[] bytes, int offset) Construct a MemberInfo object on bytes read from a PDS directory block at a given offset. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Answer a String containing the 1-8 character member name (blanks trimmed)Answer SPF statistics from the member's userdata.byte[]
getTTR()
Answer a byte array containing the TTR field of the directory entry (track/record address of member on disk)byte[]
Answer a byte array containing raw user data from the memberboolean
isAlias()
Answer true if the member is an alias, false otherwisetoString()
Answer a String representation of the receiver, which includes the member name and ISPF statistics (if present).
-
Constructor Details
-
MemberInfo
public MemberInfo(byte[] bytes, int offset) Construct a MemberInfo object on bytes read from a PDS directory block at a given offset. This constructor is normally only used byPdsDirectory.iterator()
-
-
Method Details
-
getName
Answer a String containing the 1-8 character member name (blanks trimmed) -
isAlias
public boolean isAlias()Answer true if the member is an alias, false otherwise -
getUserData
public byte[] getUserData()Answer a byte array containing raw user data from the member -
getTTR
public byte[] getTTR()Answer a byte array containing the TTR field of the directory entry (track/record address of member on disk) -
getStatistics
Answer SPF statistics from the member's userdata.- Returns:
- the SPF statistics. Returns null if statistics are not the expected size of SPF statistics.
- Throws:
RuntimeExeption
- if statistics are malformed or contain invalid data
-
toString
Answer a String representation of the receiver, which includes the member name and ISPF statistics (if present).
-