public class UrlRepositoryItem extends AbstractRepositoryElement implements RepositoryContent
| Modifier and Type | Field and Description |
|---|---|
protected URL |
item |
protected String |
name |
parent| Constructor and Description |
|---|
UrlRepositoryItem(RepositoryDirectory parent,
URL item,
String name) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
String |
getContentType() |
String |
getDescription() |
Date |
getLastModified() |
String |
getName() |
Long |
getSize() |
getParent, getPath, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, getPath, setParentpublic UrlRepositoryItem(RepositoryDirectory parent, URL item, String name)
public String getName()
getName in interface RepositoryElementgetName in class AbstractRepositoryElementpublic InputStream getContent() throws IOException
getContent in interface RepositoryContentIOExceptionpublic Date getLastModified()
getLastModified in interface RepositoryContentpublic Long getSize()
getSize in interface RepositoryContentpublic String getDescription()
getDescription in interface RepositoryElementpublic String getContentType()
getContentType in interface RepositoryContentCopyright © 2016–2022. All rights reserved.