public class LabeledStringDocument extends StringDocument implements LabeledDocument
LabeledDocument implementation backed by a String whose
contents are used for the document text.| Constructor and Description |
|---|
LabeledStringDocument(String label,
String docText)
Constructs a
Document using the provided string as the document
text |
| Modifier and Type | Method and Description |
|---|---|
String |
label()
Returns a label associated with this particular document.
|
reader, toStringpublic String label()
label in interface LabeledDocumentCopyright © 2012. All Rights Reserved.