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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
item
protected File item
FileRepositoryItem
protected FileRepositoryItem(RepositoryDirectory parent,
File item,
String name)
getName
public String getName()
- Specified by:
getName in interface RepositoryElement- Specified by:
getName in class AbstractRepositoryElement
getContent
public InputStream getContent()
throws FileNotFoundException
- Specified by:
getContent in interface RepositoryContent
- Throws:
FileNotFoundException
getLastModified
public String getLastModified()
- Specified by:
getLastModified in interface RepositoryContent
getSize
public Long getSize()
- Specified by:
getSize in interface RepositoryContent
getDescription
public String getDescription()
- Specified by:
getDescription in interface RepositoryContent
Copyright © 2004-2011. All Rights Reserved.