Class resource.LINUXDocument
All Packages Class Hierarchy This Package Previous Next Index
Class resource.LINUXDocument
java.lang.Object
|
+----results.Document
|
+----wais.WAISResultDocument
|
+----resource.LINUXDocument
- public class LINUXDocument
- extends WAISResultDocument
A class representation of a document in the LINUX collection. This
class allows us to extract information from the document file (e.g,
title, author, etc).
-
LINUXDocument()
-
-
GetFieldValueFromDB(String, String, int)
- Given a STARTS field name, return the value of that field in the
document.
LINUXDocument
public LINUXDocument()
GetFieldValueFromDB
public String GetFieldValueFromDB(String path,
String fieldName,
int maxLen) throws SourceException
- Given a STARTS field name, return the value of that field in the
document.
- Parameters:
- path - the full path of the document file.
- fieldName - the STARTS field name for which information is
to be extracted.
- maxLen - the maximum length of the value returned.
- Returns:
- The value of the specified field in the CSTR document.
- Throws: SourceException
- if an error occurred which getting the
field.
- Overrides:
- GetFieldValueFromDB in class WAISResultDocument
All Packages Class Hierarchy This Package Previous Next Index