|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--FCP
Class storing File Control Parameter for a file system node
Defined in filesystem.js
Field Summary | |
<static> Object |
DEDICATEDFILE
File type for DF |
<static> Object |
LINEARFIXED
File type for record oriented EF with fixed record size |
<static> Object |
LINEARVARIABLE
File type for record oriented EF with variable record size |
<static> Object |
TRANSPARENT
File type for transparent EF |
Constructor Summary | |
FCP()
Create a File Control Parameter containing information about a file system node |
Method Summary | |
ByteString
|
getAID()
Returns the Application Identifier (AID) |
ByteString
|
getBytes()
Returns the encoded FCP |
ASN1
|
getFCI()
Returns the FCI |
ByteString
|
getFID()
Returns the File Identifier (FID) |
Number
|
getSFI()
Returns the Short File Identifier (SFI) |
String
|
toString()
Return a human readible string for this object |
<static> FCP
|
newDF(<String|ByteString> fid, <ByteString> aid, <ByteString> supl)
Construct a new FCP object for a DF. |
<static> FCP
|
newFCP(<String|ByteString> fid, <Number> sfi, <Number> type, <Boolean> shareable, <Boolean> internal, <ByteString> supl)
Construct a new FCP object from parameters. |
<static> FCP
|
newLinearEF(<String|ByteString> fid, <Number> sfi, <Number> type, <Number> recno, <Number> recsize, <ByteString> supl)
Construct a new FCP object for an EF of type linear. |
<static> FCP
|
newTransparentEF(<String|ByteString> fid, <Number> sfi, <Number> size, <ByteString> supl)
Construct a new FCP object for an EF of type transparent. |
<static> ByteString
|
short2bytestring(<Number> val)
Convert an integer value into an two byte ByteString |
Field Detail |
<static> Object DEDICATEDFILE
<static> Object LINEARFIXED
<static> Object LINEARVARIABLE
<static> Object TRANSPARENT
Constructor Detail |
FCP()
Method Detail |
ByteString getAID()
ByteString getBytes()
ASN1 getFCI()
ByteString getFID()
Number getSFI()
String toString()
<static> FCP newDF(<String|ByteString> fid, <ByteString> aid, <ByteString> supl)
fid
- the file identifier (2 Bytes)
aid
- the DF's application identifier (DFName)
supl
- supplemental information
<static> FCP newFCP(<String|ByteString> fid, <Number> sfi, <Number> type, <Boolean> shareable, <Boolean> internal, <ByteString> supl)
This function should never be called directly. Use newTransparentDF(), newDF() or newLinearEF() instead.
fid
- the file identifier (2 Bytes)
sfi
- the short file identifier or -1 or 0 if not defined
type
- the file type, one of FCP.DEDICATEDFILE, FCP.TRANSPARENT or FCP.LINEAR*
shareable
- true, if file may be shared between logical channels
internal
- true, if file is internal only and not externally selectable
supl
- supplemental information
<static> FCP newLinearEF(<String|ByteString> fid, <Number> sfi, <Number> type, <Number> recno, <Number> recsize, <ByteString> supl)
fid
- the file identifier (2 Bytes)
sfi
- the short file identifier or -1 or 0 if not defined
type
- the file type, one of FCP.LINEARFIXED or FCP.LINEARVARIABLE
recno
- the maximum number of records
recsize
- the maximum or fixed record size
supl
- supplemental information
<static> FCP newTransparentEF(<String|ByteString> fid, <Number> sfi, <Number> size, <ByteString> supl)
fid
- the file identifier (2 Bytes)
sfi
- the short file identifier or -1 or 0 if not defined
size
- the file size
supl
- supplemental information
<static> ByteString short2bytestring(<Number> val)
val
- the value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |