public class Schema extends Object
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
in
The inputStream mapped on the file to read
|
private String |
name
The schema name
|
private Writer |
out
The writer where we dump the ldif lines
|
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
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
|
String |
toString() |
private String name
private InputStream in
private Writer out
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 writerpublic String toString()
toString in class ObjectObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.