Package org.incenp.linkml.schema
Interface ISchemaSource
-
- All Known Implementing Classes:
EmbeddedSchemaSource,FileSchemaSource,URLSchemaSource
public interface ISchemaSourceRepresents the source location of a schema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBase()Gets the base location of this source.InputStreamgetStream()Opens the location into a readable stream.
-
-
-
Method Detail
-
getBase
String getBase()
Gets the base location of this source.The base location is the location from which relative import references are resolved.
- Returns:
- The base location. May be
null.
-
getStream
InputStream getStream() throws IOException
Opens the location into a readable stream.- Throws:
IOException- If the location cannot be opened for any reason.
-
-