|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.marc4j.marcxml.MarcSource
MarcSource
is a MARC input source for
non-MARCXML conversions.
Field Summary | |
static String |
FEATURE
|
Constructor Summary | |
MarcSource()
Default constructor |
|
MarcSource(File file)
Create a new instance. |
|
MarcSource(InputStream stream)
Create a new instance. |
|
MarcSource(MarcReader marcReader,
File file)
Create a new instance. |
|
MarcSource(MarcReader marcReader,
InputStream stream)
Create a new instance. |
|
MarcSource(MarcReader marcReader,
Reader reader)
Create a new instance. |
|
MarcSource(MarcReader marcReader,
String systemID)
Create a new instance. |
|
MarcSource(Reader reader)
Create a new instance. |
|
MarcSource(String systemID)
Create a new instance. |
Method Summary | |
InputStream |
getInputStream()
Returns the InputStream object. |
MarcReader |
getMarcReader()
Returns the MarcReader object. |
String |
getPublicId()
Returns the public identifier. |
Reader |
getReader()
Returns the Reader object. |
String |
getSystemId()
Returns the system identifier. |
void |
setInputStream(InputStream stream)
Sets the InputStream object. |
void |
setMarcReader(MarcReader marcReader)
Sets the MarcReader object. |
void |
setPublicId(String publicID)
Sets the public identifier. |
void |
setReader(Reader reader)
Sets the Reader object. |
void |
setSystemId(File file)
Sets the File object. |
void |
setSystemId(String systemID)
Sets the system identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String FEATURE
Constructor Detail |
public MarcSource()
public MarcSource(File file)
Create a new instance.
file
- the File
objectpublic MarcSource(MarcReader marcReader, File file)
Create a new instance.
marcReader
- the MarcReader
objectfile
- the File
objectpublic MarcSource(InputStream stream)
Create a new instance.
stream
- the InputStream
objectpublic MarcSource(MarcReader marcReader, InputStream stream)
Create a new instance.
marcReader
- the MarcReader
objectstream
- the InputStream
objectpublic MarcSource(Reader reader)
Create a new instance.
reader
- the Reader
objectpublic MarcSource(MarcReader marcReader, Reader reader)
Create a new instance.
marcReader
- the MarcReader
objectreader
- the Reader
objectpublic MarcSource(String systemID)
Create a new instance.
systemID
- the system identifierpublic MarcSource(MarcReader marcReader, String systemID)
Create a new instance.
marcReader
- the MarcReader
objectsystemID
- the system identifierMethod Detail |
public InputStream getInputStream()
Returns the InputStream object.
public String getPublicId()
Returns the public identifier.
public Reader getReader()
Returns the Reader object.
public String getSystemId()
Returns the system identifier.
getSystemId
in interface Source
public MarcReader getMarcReader()
Returns the MarcReader object.
public void setMarcReader(MarcReader marcReader)
Sets the MarcReader object.
marcReader
- the MarcReader
objectpublic void setInputStream(InputStream stream)
Sets the InputStream object.
stream
- the InputStream
objectpublic void setPublicId(String publicID)
Sets the public identifier.
publicID
- the public identiferpublic void setReader(Reader reader)
Sets the Reader object.
reader
- the Reader
objectpublic void setSystemId(File file)
Sets the File object.
file
- the File
objectpublic void setSystemId(String systemID)
Sets the system identifier.
setSystemId
in interface Source
systemID
- the system identifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |