public final class Content extends Object
Modifier and Type | Method and Description |
---|---|
static Content |
create()
Creates a new Content.
|
Content |
documentName(String name)
Sets the document name of this content.
|
Content |
element(int element)
Sets the element number of this content.
|
Content |
filename(String filename)
Sets the filename of this content.
|
String |
getDocumentName() |
int |
getElement() |
String |
getFilename() |
String |
getId() |
InputStream |
getStream() |
Content |
id(String id)
Sets the id (HDOC) of the document this content belongs to.
|
boolean |
loaded() |
Content |
stream(InputStream stream)
Sets the stream for this content.
|
String |
toString() |
public static Content create()
public Content documentName(String name)
name
- document namepublic Content id(String id)
id
- document idpublic Content element(int element)
element
- element numberpublic Content stream(InputStream stream)
stream
- streampublic Content filename(String filename)
filename
- filenamepublic boolean loaded()
public String getId()
public int getElement()
public String getFilename()
public InputStream getStream()
public String getDocumentName()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.