Class FeatureSchemaUtils
java.lang.Object
org.openjump.core.ui.util.FeatureSchemaUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanloadSchema(Layer layer) load feature schema into a selected Layer.class from an external text filestatic booleansaveSchema(Layer layer) save Feature schema of a selected Layer.class to external text file
-
Field Details
-
GetSavedFileName
-
-
Constructor Details
-
FeatureSchemaUtils
public FeatureSchemaUtils()
-
-
Method Details
-
saveSchema
-
loadSchema
load feature schema into a selected Layer.class from an external text file- Parameters:
layer- the Layer to which we want to apply or add the schema- Returns:
- true if the schema could be applied to the layer
- Throws:
Exception- if an Exception occurs during schema reading or applying
-