Package net.sf.okapi.filters.xliff.its
Interface IITSDataStore
-
- All Known Implementing Classes:
ITSDefaultDataStore
public interface IITSDataStoreMethods needed to properly implement the backend for storing ITS standoff references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITSLQICollectiongetLQIByURI(String uri)Fetch LQI metadata by URI.ITSProvenanceCollectiongetProvByURI(String uri)Fetch Provenance metadata by URI.Collection<String>getStoredLQIURIs()Return a list of stored LQI metadata URIs.Collection<String>getStoredProvURIs()Return a list of stored Provenance metadata URIs.voidinitialize(String identifier)Setup IITSDataStore with an identifier marking each time a new file is opened for parsing.voidsave(ITSLQICollection lqi)Store LQI metadata.voidsave(ITSProvenanceCollection prov)Store Provenance metadata.
-
-
-
Method Detail
-
initialize
void initialize(String identifier)
Setup IITSDataStore with an identifier marking each time a new file is opened for parsing.
-
getStoredLQIURIs
Collection<String> getStoredLQIURIs()
Return a list of stored LQI metadata URIs.
-
getStoredProvURIs
Collection<String> getStoredProvURIs()
Return a list of stored Provenance metadata URIs.
-
getLQIByURI
ITSLQICollection getLQIByURI(String uri)
Fetch LQI metadata by URI.
-
getProvByURI
ITSProvenanceCollection getProvByURI(String uri)
Fetch Provenance metadata by URI.
-
save
void save(ITSLQICollection lqi)
Store LQI metadata.
-
save
void save(ITSProvenanceCollection prov)
Store Provenance metadata.
-
-