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, wait
getLastModified
getDescription, getName
public RepositoryDirectory getParent()
getParent
in interface RepositoryElement
public void setParent(RepositoryDirectory parent)
setParent
in interface RepositoryElement
public String getPath()
getPath
in interface RepositoryElement
public InputStream getContent() throws Exception
getContent
in interface RepositoryContent
Exception
public Long getSize()
getSize
in interface RepositoryContent
public String getContentType()
getContentType
in interface RepositoryContent
protected abstract String generateContent()
Copyright © 2016–2022. All rights reserved.