public class AttributesWriter
extends java.lang.Object
| Constructor | Description |
|---|---|
AttributesWriter(java.io.PrintWriter printWriter) |
Constructor for the
AttributesWriter class |
| Modifier and Type | Method | Description |
|---|---|---|
void |
writeAttributes(Attribute[] attributes) |
Writes information about given attributes to text file for which given class has been created.
|
public AttributesWriter(java.io.PrintWriter printWriter)
AttributesWriter classprintWriter - print writer allowing to write data to text file, which must be not nulljava.lang.NullPointerException - when print writer is nullpublic void writeAttributes(Attribute[] attributes)
attributes - attributes to write