public final class SyncTMX
extends java.lang.Object
implements org.madlonkay.supertmxmerge.data.ITmx
Constructor and Description |
---|
SyncTMX(ProjectTMX tmx,
java.lang.String name,
java.lang.String sourceLanguage,
java.lang.String targetLanguage) |
Modifier and Type | Method and Description |
---|---|
org.madlonkay.supertmxmerge.data.ITmx |
applyChanges(org.madlonkay.supertmxmerge.data.ResolutionSet resolution) |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>> |
entrySet() |
org.madlonkay.supertmxmerge.data.ITuv |
get(java.lang.Object key) |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.lang.String |
getName() |
int |
getSize() |
java.lang.String |
getSourceLanguage() |
org.madlonkay.supertmxmerge.data.ITu |
getTu(org.madlonkay.supertmxmerge.data.Key key) |
java.lang.Object |
getUnderlyingRepresentation() |
boolean |
isEmpty() |
java.util.Set<org.madlonkay.supertmxmerge.data.Key> |
keySet() |
org.madlonkay.supertmxmerge.data.ITuv |
put(org.madlonkay.supertmxmerge.data.Key key,
org.madlonkay.supertmxmerge.data.ITuv value) |
void |
putAll(java.util.Map<? extends org.madlonkay.supertmxmerge.data.Key,? extends org.madlonkay.supertmxmerge.data.ITuv> m) |
org.madlonkay.supertmxmerge.data.ITuv |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<org.madlonkay.supertmxmerge.data.ITuv> |
values() |
void |
writeTo(java.io.File outputFile) |
public SyncTMX(ProjectTMX tmx, java.lang.String name, java.lang.String sourceLanguage, java.lang.String targetLanguage)
public java.lang.String getSourceLanguage()
getSourceLanguage
in interface org.madlonkay.supertmxmerge.data.ITmx
public java.lang.String getName()
getName
in interface org.madlonkay.supertmxmerge.data.ITmx
public int getSize()
getSize
in interface org.madlonkay.supertmxmerge.data.ITmx
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadata
in interface org.madlonkay.supertmxmerge.data.ITmx
public org.madlonkay.supertmxmerge.data.ITmx applyChanges(org.madlonkay.supertmxmerge.data.ResolutionSet resolution)
applyChanges
in interface org.madlonkay.supertmxmerge.data.ITmx
public void writeTo(java.io.File outputFile) throws org.madlonkay.supertmxmerge.data.WriteFailedException
writeTo
in interface org.madlonkay.supertmxmerge.data.ITmx
org.madlonkay.supertmxmerge.data.WriteFailedException
public java.lang.Object getUnderlyingRepresentation()
getUnderlyingRepresentation
in interface org.madlonkay.supertmxmerge.data.ITmx
public org.madlonkay.supertmxmerge.data.ITu getTu(org.madlonkay.supertmxmerge.data.Key key)
getTu
in interface org.madlonkay.supertmxmerge.data.ITmx
public int size()
size
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public boolean isEmpty()
isEmpty
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public org.madlonkay.supertmxmerge.data.ITuv get(java.lang.Object key)
get
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public org.madlonkay.supertmxmerge.data.ITuv put(org.madlonkay.supertmxmerge.data.Key key, org.madlonkay.supertmxmerge.data.ITuv value)
put
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public org.madlonkay.supertmxmerge.data.ITuv remove(java.lang.Object key)
remove
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public void putAll(java.util.Map<? extends org.madlonkay.supertmxmerge.data.Key,? extends org.madlonkay.supertmxmerge.data.ITuv> m)
putAll
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public void clear()
clear
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public java.util.Set<org.madlonkay.supertmxmerge.data.Key> keySet()
keySet
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public java.util.Collection<org.madlonkay.supertmxmerge.data.ITuv> values()
values
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>
public java.util.Set<java.util.Map.Entry<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>> entrySet()
entrySet
in interface java.util.Map<org.madlonkay.supertmxmerge.data.Key,org.madlonkay.supertmxmerge.data.ITuv>