19 #ifndef __com_sun_star_ucb_XSimpleFileAccess_idl__
20 #define __com_sun_star_ucb_XSimpleFileAccess_idl__
35 module
com { module sun { module star { module ucb {
51 void copy( [in]
string SourceURL, [in]
string DestURL )
63 void move( [in]
string SourceURL, [in]
string DestURL )
74 void kill( [in]
string FileURL )
This exception is thrown to indicate that a command was aborted.
Definition: CommandAbortedException.idl:34
the base of all UNO exceptions
Definition: Exception.idl:33
This is the basic interface to write data to a stream.
Definition: XOutputStream.idl:38
offers read and write access to the same stream.
Definition: XStream.idl:33
An interaction request handler.
Definition: XInteractionHandler.idl:33
This is the basic interface to read data from a stream.
Definition: XSimpleFileAccess.idl:40
boolean exists([in] string FileURL)
Checks if a file exists.
void setInteractionHandler([in] com::sun::star::task::XInteractionHandler Handler)
Sets an interaction handler to be used for further operations.
string getContentType([in] string FileURL)
Returns the content type of a file.
void setReadOnly([in] string FileURL, [in] boolean bReadOnly)
Sets the "read only" of a file according to the boolean parameter, if the actual process has the righ...
::com::sun::star::util::DateTime getDateTimeModified([in] string FileURL)
Returns the last modified date for the file.
com::sun::star::io::XInputStream openFileRead([in] string FileURL)
Opens file to read.
long getSize([in] string FileURL)
Returns the size of a file.
com::sun::star::io::XStream openFileReadWrite([in] string FileURL)
Opens file to read and write.
void kill([in] string FileURL)
Removes a file.
com::sun::star::io::XOutputStream openFileWrite([in] string FileURL)
Opens file to write.
void createFolder([in] string NewFolderURL)
Creates a new Folder.
void move([in] string SourceURL, [in] string DestURL)
Moves a file.
void copy([in] string SourceURL, [in] string DestURL)
Copies a file.
sequence< string > getFolderContents([in] string FolderURL, [in] boolean bIncludeFolders)
Returns the contents of a folder.
boolean isReadOnly([in] string FileURL)
Checks if a file is "read only".
boolean isFolder([in] string FileURL)
Checks if a URL represents a folder.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
represents a combined date+time value.
Definition: DateTime.idl:29