Interface SchemaLdifExtractor
- All Known Implementing Classes:
DefaultSchemaLdifExtractor
public interface SchemaLdifExtractor
Extracts LDIF files for the schema repository.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptionvoidExtracts the LDIF files from a Jar file or copies exploded LDIF resources without overwriting the resources if the schema has already been extracted.voidextractOrCopy(boolean overwrite) Extracts the LDIF files from a Jar file or copies exploded LDIF resources.booleanGets whether or not the content has been extracted previously by this extractor or another into the directory file structure.
-
Method Details
-
isExtracted
boolean isExtracted()Gets whether or not the content has been extracted previously by this extractor or another into the directory file structure.- Returns:
- true if extracted at least once, false otherwise
-
extractOrCopy
Extracts the LDIF files from a Jar file or copies exploded LDIF resources.- Parameters:
overwrite- over write extracted structure if true, false otherwise- Throws:
IOException- if schema already extracted and on IO errors
-
extractOrCopy
Extracts the LDIF files from a Jar file or copies exploded LDIF resources without overwriting the resources if the schema has already been extracted.- Throws:
IOException- if schema already extracted and on IO errors
-