|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tika.sax.AppendableAdaptor
public class AppendableAdaptor
Adaptor which turns a ContentHandler into an Appendable.
ContentHandler| Constructor Summary | |
|---|---|
AppendableAdaptor(org.xml.sax.ContentHandler handler)
Creates a adaptor for the given SAX event handler. |
|
| Method Summary | |
|---|---|
java.lang.Appendable |
append(char c)
Write a single character to the underling content handler. |
java.lang.Appendable |
append(java.lang.CharSequence charSeq)
Write a character sequence to the underling content handler. |
java.lang.Appendable |
append(java.lang.CharSequence charSeq,
int start,
int end)
Write the specified characters to the underling content handler. |
org.xml.sax.ContentHandler |
getHandler()
Return the content handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppendableAdaptor(org.xml.sax.ContentHandler handler)
handler - SAX event handler to be decorated, throws
IllegalArgumentException if null.| Method Detail |
|---|
public org.xml.sax.ContentHandler getHandler()
public java.lang.Appendable append(char c)
throws java.io.IOException
append in interface java.lang.Appendablec - The character to write
java.io.IOException - if an error occurs writing to the content handler
public java.lang.Appendable append(java.lang.CharSequence charSeq)
throws java.io.IOException
append in interface java.lang.AppendablecharSeq - The sequence of characters, ignored if null
java.io.IOException - if an error occurs writing to the content handler
public java.lang.Appendable append(java.lang.CharSequence charSeq,
int start,
int end)
throws java.io.IOException
append in interface java.lang.AppendablecharSeq - The sequence of characters, ignored if nullstart - The starting index of the characters to writeend - The index of the last character +1 to write
java.io.IOException - if a SAXException occurs writing to the
content handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||