|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.converter.schema.Schema
public class Schema
A bean used to hold a schema. We keep its name and we associate whith this object an inputStream mapped on the OpenLdap schema to read, and a writer in which the ldif file will be dumped.
| Constructor Summary | |
|---|---|
Schema()
|
|
| Method Summary | |
|---|---|
InputStream |
getInput()
|
String |
getName()
|
Writer |
getOutput()
|
void |
setInput(InputStream in)
Set the inputStream mapped on the schema file |
void |
setName(String name)
Set the schema name to parse. |
void |
setOutput(Writer out)
Set a writer to dump the ldif files |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Schema()
| Method Detail |
|---|
public void setName(String name)
name - The schema namepublic String getName()
public void setInput(InputStream in)
in - The InputStream mapped on the schema filepublic InputStream getInput()
public Writer getOutput()
public void setOutput(Writer out)
out - The writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||