このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XSimpleFileAccess
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ucb ::

interface XSimpleFileAccess
Description
This is the basic interface to read data from a stream.

Methods' 要約
copy Copies a とじ込み/提出する  
move Moves a とじ込み/提出する  
kill 除去するs a とじ込み/提出する. If the URL 代表するs a folder, the folder will be 除去するd, even if it's not empty.  
isFolder Checks if an URL 代表するs a folder  
isReadOnly Checks if a とじ込み/提出する is "read only"  
setReadOnly 始める,決めるs the "read only" of a とじ込み/提出する によれば the boolean parameter, if the actual 過程 has the 権利 to do so.  
createFolder Creates a new Folder  
getSize Returns the size of a とじ込み/提出する.  
getContentType Returns the content type of a とじ込み/提出する.  
getDateTimeModified Returns the last 修正するd date for the とじ込み/提出する  
getFolderContents Returns the contents of a folder  
存在するs Checks if a とじ込み/提出する 存在するs  
openFileRead Opens とじ込み/提出する to read  
openFileWrite Opens とじ込み/提出する to 令状.  
openFileReadWrite Opens とじ込み/提出する to read and 令状  
setInteractionHandler 始める,決めるs an interaction handler to be used for その上の 操作/手術s.  
Methods' 詳細(に述べる)s
copy
無効の
copy( [in] string  SourceURL,
[in] string  DestURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Copies a とじ込み/提出する
Parameter SourceURL
URL of the とじ込み/提出する to be copied
Parameter DestURL
URL of the 場所 the とじ込み/提出する should be copied to
See also
move
move
無効の
move( [in] string  SourceURL,
[in] string  DestURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Moves a とじ込み/提出する
Parameter SourceURL
URL of the とじ込み/提出する to be moved
Parameter DestURL
URL of the 場所 the とじ込み/提出する should be moved to
See also
move
kill
無効の
kill( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
除去するs a とじ込み/提出する. If the URL 代表するs a folder, the folder will be 除去するd, even if it's not empty.
Parameter FileURL
とじ込み/提出する/folder to be 除去するd
See also
move
isFolder
boolean
isFolder( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Checks if an URL 代表するs a folder
Parameter FileURL
URL to be checked
Returns
true, if the given URL 代表するs a folder, さもなければ 誤った
isReadOnly
boolean
isReadOnly( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Checks if a とじ込み/提出する is "read only"
Parameter FileURL
URL to be checked
Returns
true, if the given とじ込み/提出する is "read only", 誤った さもなければ
setReadOnly
無効の
setReadOnly( [in] string  FileURL,
[in] boolean  bReadOnly )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
始める,決めるs the "read only" of a とじ込み/提出する によれば the boolean parameter, if the actual 過程 has the 権利 to do so.
Parameter bReadOnly
true; "read only" 旗 will be 始める,決める, 誤った; "read only" 旗 will be reset
createFolder
無効の
createFolder( [in] string  NewFolderURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Creates a new Folder
Parameter NewFolderURL
URL 述べるing the 場所 of the new folder
getSize
long
getSize( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Returns the size of a とじ込み/提出する.
Parameter FileURL
URL of the とじ込み/提出する
Returns
Size of the とじ込み/提出する in bytes
getContentType
string
getContentType( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Returns the content type of a とじ込み/提出する.
Parameter FileURL
URL of the とじ込み/提出する
Returns
Content type of the とじ込み/提出する
See also
XContent::getContentType
getDateTimeModified
::com::sun::星/主役にする::util::DateTime
getDateTimeModified( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Returns the last 修正するd date for the とじ込み/提出する
Parameter FileURL
URL of the とじ込み/提出する
Returns
Last 修正するd date for the とじ込み/提出する
getFolderContents
sequence< string >
getFolderContents( [in] string  FolderURL,
[in] boolean  bIncludeFolders )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Returns the contents of a folder
Parameter FolderURL
URL of the folder
Parameter bIncludeFolders
true: Subfolders are 含むd, 誤った: No subfolders
Returns
The content of a folder, each とじ込み/提出する as one string in a string sequence
存在するs
boolean
存在するs( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Checks if a とじ込み/提出する 存在するs
Parameter FileURL
URL to be checked
Returns
true, if the とじ込み/提出する 存在するs, 誤った さもなければ
openFileRead
::com::sun::星/主役にする::io::XInputStream
openFileRead( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Opens とじ込み/提出する to read
Parameter FileURL
とじ込み/提出する to open
Returns
An XInputStream, if the とじ込み/提出する can be opened for reading
openFileWrite
::com::sun::星/主役にする::io::XOutputStream
openFileWrite( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Opens とじ込み/提出する to 令状.
Parameter FileURL
とじ込み/提出する to open
Returns
An XOutputStream, if the とじ込み/提出する can be opened for 令状ing
Throws
UnsupportedDataSinkException, if the とじ込み/提出する cannot be opened for 無作為の 令状 接近. Some 資源s do not 許す 無作為の 令状 接近. To 令状 data for those 資源s XSimpleFileAccess2::writeFile may be used.
openFileReadWrite
::com::sun::星/主役にする::io::XStream
openFileReadWrite( [in] string  FileURL )
raises( CommandAbortedException,
::com::sun::星/主役にする::uno::Exception );

Description
Opens とじ込み/提出する to read and 令状
Parameter FileURL
とじ込み/提出する to open
Returns
An XStream, if the とじ込み/提出する can be opened for reading and 令状ing
Throws
UnsupportedDataSinkException, if the とじ込み/提出する cannot be opened for 無作為の 令状 接近. Some 資源s do not 許す 無作為の 令状 接近. To 令状 data for those 資源s XSimpleFileAccess2::writeFile may be used.
setInteractionHandler
無効の
setInteractionHandler( [in] ::com::sun::星/主役にする::仕事::XInteractionHandler  Handler );

Description
始める,決めるs an interaction handler to be used for その上の 操作/手術s.

A default interaction handler is 利用できる as service ::com::sun::星/主役にする::仕事::InteractionHandler. The documentation of this service also 含む/封じ込めるs その上の (警察などへの)密告,告訴(状) about the interaction handler 概念.

Parameter Handler
The interaction handler to be 始める,決める
See also
::com::sun::星/主役にする::仕事::InteractionHandler
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.