|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.brains2b.coffee.file.FileContentHandler
public abstract class FileContentHandler
Abstract ContentHandler for reading XML-files from file system
Also handles calls to ProgressMonitor
Constructor Summary | |
---|---|
FileContentHandler()
|
Method Summary | |
---|---|
void |
addProgressMonitor(ProgressMonitor monitor)
|
void |
advance(int start,
int value,
int end)
|
void |
endPrefixMapping(java.lang.String prefix)
|
java.lang.String |
getDefaultDir()
get the default directory for this kind of content |
abstract NNTPMessage |
getMessage()
get the NNTPMessage as it was parsed from the specific ContentHandler |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
|
void |
removeProgressMonitor(ProgressMonitor monitor)
|
protected void |
setDefaultDir(java.lang.String defaultDir)
set the default directory for this kind of content |
void |
setDocumentLocator(org.xml.sax.Locator locator)
|
void |
skippedEntity(java.lang.String name)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
---|
characters, endDocument, endElement, startDocument, startElement |
Constructor Detail |
---|
public FileContentHandler()
Method Detail |
---|
public abstract NNTPMessage getMessage()
public java.lang.String getDefaultDir()
The directory given here is relative to the save path of the CoffeeBreak instance
FileConnector.getPath()
protected void setDefaultDir(java.lang.String defaultDir)
The directory given here is relative to the save path of the CoffeeBreak instance
defaultDir
- String, directory nameFileConnector.getPath()
public void addProgressMonitor(ProgressMonitor monitor)
public void advance(int start, int value, int end)
advance
in interface ProgressMonitor
public void removeProgressMonitor(ProgressMonitor monitor)
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |