LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
SimpleFileAccess Service Referencepublished

Offers a simple access to resources, like files and folders located in a local file system or on a WebDAV server. More...

import <SimpleFileAccess.idl;

Inheritance diagram for SimpleFileAccess:
XSimpleFileAccess3 XSimpleFileAccess2 XSimpleFileAccess XInterface

Additional Inherited Members

- Public Member Functions inherited from XSimpleFileAccess3
boolean isHidden ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Checks if a file is "hidden".
 
void setHidden ([in] string FileURL, [in] boolean bHidden) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Sets the "hidden" of a file according to the boolean parameter, if the actual process has the right to do so and the used operation system supports this operation.
 
- Public Member Functions inherited from XSimpleFileAccess2
void writeFile ([in] string FileURL, [in] com::sun::star::io::XInputStream data) raises ( com::sun::star::uno::Exception )
 Overwrites the file content with the given data.
 
- Public Member Functions inherited from XSimpleFileAccess
void copy ([in] string SourceURL, [in] string DestURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Copies a file.
 
void move ([in] string SourceURL, [in] string DestURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Moves a file.
 
void kill ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Removes a file.
 
boolean isFolder ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Checks if a URL represents a folder.
 
boolean isReadOnly ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Checks if a file is "read only".
 
void setReadOnly ([in] string FileURL, [in] boolean bReadOnly) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Sets the "read only" of a file according to the boolean parameter, if the actual process has the right to do so.
 
void createFolder ([in] string NewFolderURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Creates a new Folder.
 
long getSize ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Returns the size of a file.
 
string getContentType ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Returns the content type of a file.
 
::com::sun::star::util::DateTime getDateTimeModified ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Returns the last modified date for the file.
 
sequence< string > getFolderContents ([in] string FolderURL, [in] boolean bIncludeFolders) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Returns the contents of a folder.
 
boolean exists ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Checks if a file exists.
 
com::sun::star::io::XInputStream openFileRead ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Opens file to read.
 
com::sun::star::io::XOutputStream openFileWrite ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Opens file to write.
 
com::sun::star::io::XStream openFileReadWrite ([in] string FileURL) raises ( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception )
 Opens file to read and write.
 
void setInteractionHandler ([in] com::sun::star::task::XInteractionHandler Handler)
 Sets an interaction handler to be used for further operations.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

Detailed Description

Offers a simple access to resources, like files and folders located in a local file system or on a WebDAV server.

@version 1.0 07/25/2000

The documentation for this service was generated from the following file: