com.nirima.jenkins.repo.fs
Class FileRepositoryItem
java.lang.Object
com.nirima.jenkins.repo.AbstractRepositoryElement
com.nirima.jenkins.repo.fs.FileRepositoryItem
- All Implemented Interfaces:
- RepositoryContent, RepositoryElement
public class FileRepositoryItem
- extends AbstractRepositoryElement
- implements RepositoryContent
|
Field Summary |
protected java.io.File |
item
|
protected java.lang.String |
name
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
item
protected java.io.File item
FileRepositoryItem
protected FileRepositoryItem(RepositoryDirectory parent,
java.io.File item,
java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName in interface RepositoryElement- Specified by:
getName in class AbstractRepositoryElement
getContent
public java.io.InputStream getContent()
throws java.io.FileNotFoundException
- Specified by:
getContent in interface RepositoryContent
- Throws:
java.io.FileNotFoundException
getLastModified
public java.lang.String getLastModified()
- Specified by:
getLastModified in interface RepositoryContent
getSize
public java.lang.Long getSize()
- Specified by:
getSize in interface RepositoryContent
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface RepositoryContent
Copyright © 2004-2011. All Rights Reserved.