Interface SchemaLdifExtractor
-
- All Known Implementing Classes:
DefaultSchemaLdifExtractor
public interface SchemaLdifExtractor
Extracts LDIF files for the schema repository.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.void
extractOrCopy(boolean overwrite)
Extracts the LDIF files from a Jar file or copies exploded LDIF resources.boolean
isExtracted()
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 IOException
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
void extractOrCopy() throws IOException
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
-
-