|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.DocumentFile
public abstract class DocumentFile
Abstract class with the basic operations to obtain information about a document.
| Constructor Summary | |
|---|---|
DocumentFile()
|
|
| Method Summary | |
|---|---|
abstract InputStream |
getInputStream()
Gets an InputStream with the contents of this document. |
Date |
getLastUpdateDate()
devuelve la fecha |
String |
getMediaType()
devuelve el tipo IMT |
abstract String |
getMetaInfo(String metaname)
Gets the meta-information corresponding to metaname. |
int |
getSize()
Gets the size of the document. |
String |
getTitle()
Gets the title of the document. |
abstract void |
load(InputStream is)
Loads the content of the document with the given Inputstream. |
void |
setDate(Date date)
Especifica la fecha de la pagina |
void |
setSize(int sz)
Especifica el tamaņo |
void |
setTitle(String title)
Sets the title of the document. |
void |
setType(String type)
Especifica el tipo IMT del documento |
abstract void |
write(OutputStream os)
Writes the contents of this document to the given OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentFile()
| Method Detail |
|---|
public void setTitle(String title)
setTitle in interface Documenttitle - the title of the documentpublic String getTitle()
getTitle in interface Documentpublic void setType(String type)
type - el tipo IMTpublic String getMediaType()
getMediaType in interface Documentpublic void setDate(Date date)
date - la fechapublic Date getLastUpdateDate()
getLastUpdateDate in interface Documentpublic void setSize(int sz)
sz - el tamaņopublic int getSize()
public abstract String getMetaInfo(String metaname)
metaname - the name of the meta-information
null if there is no
meta-information.
public abstract void load(InputStream is)
throws IOException
is - InputStream object with the contents of the document
IOException
public abstract InputStream getInputStream()
throws IOException
IOException
public abstract void write(OutputStream os)
throws IOException
os - the OutputStream to write the document
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||