public class AppServerFriendlySchemaLdifExtractor extends Object implements org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractor
DefaultSchemaLdifExtractor makes assumptions about java.class.path. Since we're just copying
resources to the filing system from a JAR file, reimplement in a way that works for our testing.
This assumes that SchemaLdifExtractor is in a jar file that also holds the initial schema.| Constructor and Description |
|---|
AppServerFriendlySchemaLdifExtractor(File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractOrCopy() |
void |
extractOrCopy(boolean overwrite) |
boolean |
isExtracted() |
public AppServerFriendlySchemaLdifExtractor(File outputDirectory)
public void extractOrCopy()
throws IOException
extractOrCopy in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractorIOExceptionpublic boolean isExtracted()
isExtracted in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractorpublic void extractOrCopy(boolean overwrite)
throws IOException
extractOrCopy in interface org.apache.directory.api.ldap.schema.extractor.SchemaLdifExtractorIOExceptionCopyright © 2023 Atlassian. All rights reserved.