Package eu.clarin.weblicht.wlfxb.ed.api
Interface ExternalDataLayer
-
- All Known Subinterfaces:
CanonicalSegmentationLayer
,NamedEntityModelLayer
,PhoneticSegmentationLayer
,SpeechSignalLayer
,TokenSegmentationLayer
- All Known Implementing Classes:
CanonicalSegmentationLayerStored
,ExternalDataLayerStored
,NamedEntityModelLayerStored
,PhoneticSegmentationLayerStored
,SpeechSignalLayerStored
,TokenSegmentationLayerStored
public interface ExternalDataLayer
The ExternalDataLayer interface represents linguistic annotations layer to be used with TCF annotations but to be stored outside of TCF. The ExternalDataLayer has a mime type of its data file and a URL link to its data file.- Author:
- Yana Panchenko
-
-
Method Detail
-
getDataMimeType
String getDataMimeType()
Gets the MIME type of the data file of this layer.- Returns:
- the MIME type
-
getLink
String getLink()
Gets link (URL) to the data file of this layer.- Returns:
- link to the data file.
-
addLink
void addLink(String dataURL)
Adds link (URL) to the location of the data file of this layer.- Parameters:
dataURL
- the URL of the data file.
-
-