public abstract class TextRepositoryItem extends Object implements RepositoryContent
| Constructor and Description |
|---|
TextRepositoryItem() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
generateContent() |
InputStream |
getContent() |
String |
getContentType() |
RepositoryDirectory |
getParent() |
String |
getPath() |
Long |
getSize() |
void |
setParent(RepositoryDirectory parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastModifiedgetDescription, getNamepublic RepositoryDirectory getParent()
getParent in interface RepositoryElementpublic void setParent(RepositoryDirectory parent)
setParent in interface RepositoryElementpublic String getPath()
getPath in interface RepositoryElementpublic InputStream getContent() throws Exception
getContent in interface RepositoryContentExceptionpublic Long getSize()
getSize in interface RepositoryContentpublic String getContentType()
getContentType in interface RepositoryContentprotected abstract String generateContent()
Copyright © 2016–2022. All rights reserved.