org.rometools.propono.atom.server
Class AtomMediaResource
java.lang.Object
org.rometools.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
AtomMediaResource
public AtomMediaResource(String name,
long length,
Date lastModified,
InputStream is)
throws FileNotFoundException
- Throws:
FileNotFoundException
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getContentLength
public long getContentLength()
setContentLength
public void setContentLength(long contentLength)
getInputStream
public InputStream getInputStream()
setInputStream
public void setInputStream(InputStream inputStream)
getLastModified
public Date getLastModified()
setLastModified
public void setLastModified(Date lastModified)
Copyright © 2007-2013 ROME Project. All Rights Reserved.