public class NonTranslatablePartHandler extends Object implements OpenXMLPartHandler
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected ZipEntry |
getEntry() |
protected String |
getModifiedContent()
For subclasses that need to rewrite the content, despite it not
being translatable.
|
protected net.sf.okapi.filters.openxml.OpenXMLZipFile |
getZipFile() |
boolean |
hasNext() |
void |
logEvent(Event e) |
Event |
next() |
Event |
open(String documentId,
String subDocumentId,
LocaleId srcLang)
Open this part and perform any initial processing.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removeprotected net.sf.okapi.filters.openxml.OpenXMLZipFile getZipFile()
protected ZipEntry getEntry()
public Event open(String documentId, String subDocumentId, LocaleId srcLang) throws IOException, XMLStreamException
OpenXMLPartHandleropen in interface OpenXMLPartHandlerdocumentId - document identifiersubDocumentId - sub-document identifiersrcLang - the locale of the sourceIOException - if any problem is encounteredXMLStreamExceptionprotected String getModifiedContent()
public boolean hasNext()
hasNext in interface Iterator<Event>hasNext in interface OpenXMLPartHandlerpublic Event next()
next in interface Iterator<Event>next in interface OpenXMLPartHandlerpublic void close()
close in interface OpenXMLPartHandlerpublic void logEvent(Event e)
logEvent in interface OpenXMLPartHandlerCopyright © 2019. All rights reserved.