Class resource.CSTRDocument
All Packages Class Hierarchy This Package Previous Next Index
Class resource.CSTRDocument
java.lang.Object
|
+----results.Document
|
+----wais.WAISResultDocument
|
+----resource.CSTRDocument
- public class CSTRDocument
- extends WAISResultDocument
A class representation of a document in the CSTR collection. This
class allows us to extract information from the document file (e.g,
title, author, etc).
-
CSTRDocument()
-
-
GetFieldValueFromDB(String, String, int)
- Given a STARTS field name, return the value of that field in the
document.
CSTRDocument
public CSTRDocument()
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