Interface SchematicSource
public interface SchematicSource
Represents a source where schematics can be drawn from.
Provides excludions
-
Method Summary
Modifier and TypeMethodDescriptionA list of relative pathes to the source which should be excludedinternalPath(Path path) Get the internal path by stripping the path of the source.booleanisExcluded(Path path) Checks wheather the path is excluded or notbooleanAn ideally unique prefix for this sourcebooleanChecks if the path is part of this source.path()Path of the schematic source.prefix()
-
Method Details
-
path
-
isRelative
boolean isRelative()An ideally unique prefix for this source- Returns:
- prefix
-
prefix
String prefix() -
excludedPath
-
isExcluded
Checks wheather the path is excluded or not- Parameters:
path- path- Returns:
- true if excluded
-
isSource
Checks if the path is part of this source.- Parameters:
path- path- Returns:
- true if path is in source
-
internalPath
-