Class oclc.overcite.FCL
All Packages Class Hierarchy This Package Previous Next Index
Class oclc.overcite.FCL
java.lang.Object
|
+----oclc.overcite.FCL
- public class FCL
- extends Object
FCL is the class that builds an FCL from an .fcl description file
or from a .fcd file. A document describing the format of an fcl file
is available via anonymous ftp at ftp.rsch.oclc.org in the
pub/SiteSearch/doc directory.
- Version:
- @(#)FCL.java 1.14 06/27/96
- Author:
- Jenny Colvard
-
COLUMNS
-
-
FIELD
-
-
FCL(BerString)
-
-
FCL(FileInputStream)
-
-
doDiacritics(String)
-
-
getErrors()
-
-
getFormat()
-
-
getTerminator()
-
-
getWordBreak()
-
-
sgmlTagsAt(String)
-
-
testDiatable()
-
-
toByteArray()
-
-
toString()
-
-
translateTextAt(String)
-
FIELD
protected final static byte FIELD
COLUMNS
protected final static byte COLUMNS
FCL
public FCL(FileInputStream input) throws IOException
- Parameters:
- input - File containing fcl to parse
- Throws: IOException
- Error reading input file
FCL
public FCL(BerString record)
- Parameters:
- record - BerString of previously built FCL
getFormat
protected final DataDir getFormat()
- Returns:
- DataDir needed by overcite to produce formatted record
getErrors
public final String getErrors()
- Returns:
- String of any errors that ocurred while building the FCL.
translateTextAt
protected final String translateTextAt(String key)
- Parameters:
- key - text which may have alternate text
- Returns:
- String to substitute for input String or null if no match is found.
the input String.
sgmlTagsAt
protected final String sgmlTagsAt(String key)
- Parameters:
- key - possible SGML tag to look up
- Returns:
- Substitute text if SGML tag is found or null if no match is found.
getTerminator
protected final String getTerminator()
- Returns:
- String for terminating lines.
getWordBreak
public final String getWordBreak()
- Returns:
- String containing possible word break characters.
toString
public String toString()
- Returns:
- String containing formatted information from FCL internals.
- Overrides:
- toString in class Object
toByteArray
public byte[] toByteArray()
- Returns:
- byte[] containing BerString representation of FCL
doDiacritics
protected String doDiacritics(String original)
- Parameters:
- original - input stream that may have diacritics to translate
- Returns:
- String containing original text with translated diacritics or
null if no diacritics were found.
testDiatable
public static String testDiatable()
All Packages Class Hierarchy This Package Previous Next Index