com.sun.syndication.propono.atom.server
Class AtomMediaResource
java.lang.Object
com.sun.syndication.propono.atom.server.AtomMediaResource
public class AtomMediaResource
- extends Object
Represents a media link entry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomMediaResource
public AtomMediaResource(File resource)
throws FileNotFoundException
- Throws:
FileNotFoundException
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getContentLength
public int getContentLength()
setContentLength
public void setContentLength(int contentLength)
getInputStream
public InputStream getInputStream()
setInputStream
public void setInputStream(InputStream inputStream)
getLastModified
public Date getLastModified()
setLastModified
public void setLastModified(Date lastModified)