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

Variable Index

 o COLUMNS
 o FIELD

Constructor Index

 o FCL(BerString)
 o FCL(FileInputStream)

Method Index

 o doDiacritics(String)
 o getErrors()
 o getFormat()
 o getTerminator()
 o getWordBreak()
 o sgmlTagsAt(String)
 o testDiatable()
 o toByteArray()
 o toString()
 o translateTextAt(String)

Variables

 o FIELD
  protected final static byte FIELD
 o COLUMNS
  protected final static byte COLUMNS

Constructors

 o FCL
  public FCL(FileInputStream input) throws IOException
Parameters:
input - File containing fcl to parse
Throws: IOException
Error reading input file
 o FCL
  public FCL(BerString record)
Parameters:
record - BerString of previously built FCL

Methods

 o getFormat
  protected final DataDir getFormat()
Returns:
DataDir needed by overcite to produce formatted record
 o getErrors
  public final String getErrors()
Returns:
String of any errors that ocurred while building the FCL.
 o 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.
 o 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.
 o getTerminator
  protected final String getTerminator()
Returns:
String for terminating lines.
 o getWordBreak
  public final String getWordBreak()
Returns:
String containing possible word break characters.
 o toString
  public String toString()
Returns:
String containing formatted information from FCL internals.
Overrides:
toString in class Object
 o toByteArray
  public byte[] toByteArray()
Returns:
byte[] containing BerString representation of FCL
 o 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.
 o testDiatable
  public static String testDiatable()

All Packages  Class Hierarchy  This Package  Previous  Next  Index