Interface SchemaLdifExtractor
-
- All Known Implementing Classes:
DefaultSchemaLdifExtractor
public interface SchemaLdifExtractorExtracts LDIF files for the schema repository.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidextractOrCopy()Extracts 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.booleanisExtracted()Gets whether or not the content has been extracted previously by this extractor or another into the directory file structure.
-
-
-
Method Detail
-
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
void extractOrCopy(boolean overwrite) throws IOExceptionExtracts 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
void extractOrCopy() throws IOExceptionExtracts 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
-
-