Package org.iqtig.xpacker.impl.sax
Klasse CompressionSaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.iqtig.xpacker.impl.sax.SaxHandler
org.iqtig.xpacker.impl.sax.CompressionSaxHandler
- Alle implementierten Schnittstellen:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,LexicalHandler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidstatic voidstatic voiddecompress(File inputFile, File outputFile) static voiddecompress(File inputFile, File outputFile, String[] elementsToCompress) processDocument(String docString, String elementName) Von Klasse geerbte Methoden org.iqtig.xpacker.impl.sax.SaxHandler
characters, comment, endCDATA, endDTD, endElement, endEntity, parse, startCDATA, startDocument, startDTD, startElement, startEntityVon Klasse geerbte Methoden org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.xml.sax.ContentHandler
declaration
-
Konstruktordetails
-
CompressionSaxHandler
public CompressionSaxHandler(boolean compress)
-
-
Methodendetails
-
compress
public static void compress(File inputFile, File outputFile, String[] elementsToCompress) throws SAXException, IOException - Löst aus:
SAXExceptionIOException
-
decompress
public static void decompress(File inputFile, File outputFile, String[] elementsToCompress) throws SAXException, IOException - Löst aus:
SAXExceptionIOException
-
compress
- Löst aus:
SAXExceptionIOException
-
decompress
- Löst aus:
SAXExceptionIOException
-
processDocument
- Angegeben von:
processDocumentin KlasseSaxHandler- Löst aus:
IOException
-