@Deprecated public class AtomMediaResource extends Object
Constructor and Description |
---|
AtomMediaResource(File resource)
Deprecated.
|
AtomMediaResource(String name,
long length,
Date lastModified,
InputStream is)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Deprecated.
|
String |
getContentType()
Deprecated.
|
InputStream |
getInputStream()
Deprecated.
|
Date |
getLastModified()
Deprecated.
|
void |
setContentLength(long contentLength)
Deprecated.
|
void |
setContentType(String contentType)
Deprecated.
|
void |
setInputStream(InputStream inputStream)
Deprecated.
|
void |
setLastModified(Date lastModified)
Deprecated.
|
public AtomMediaResource(File resource) throws FileNotFoundException
FileNotFoundException
public AtomMediaResource(String name, long length, Date lastModified, InputStream is) throws FileNotFoundException
FileNotFoundException
public String getContentType()
public void setContentType(String contentType)
public long getContentLength()
public void setContentLength(long contentLength)
public InputStream getInputStream()
public void setInputStream(InputStream inputStream)
public Date getLastModified()
public void setLastModified(Date lastModified)
Copyright © 2023. All rights reserved.