public class Schema
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
in
The inputStream mapped on the file to read
|
private java.lang.String |
name
The schema name
|
private java.io.Writer |
out
The writer where we dump the ldif lines
|
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInput() |
java.lang.String |
getName() |
java.io.Writer |
getOutput() |
void |
setInput(java.io.InputStream in)
Set the inputStream mapped on the schema file
|
void |
setName(java.lang.String name)
Set the schema name to parse.
|
void |
setOutput(java.io.Writer out)
Set a writer to dump the ldif files
|
java.lang.String |
toString() |
private java.lang.String name
private java.io.InputStream in
private java.io.Writer out
public void setName(java.lang.String name)
name - The schema namepublic java.lang.String getName()
public void setInput(java.io.InputStream in)
in - The InputStream mapped on the schema filepublic java.io.InputStream getInput()
public java.io.Writer getOutput()
public void setOutput(java.io.Writer out)
out - The writerpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()