<html> <head> <title>Service FTPContent</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="FTPContent-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">ucb</a> :: </p> </td> </tr> <tr> <td class="title">service FTPContent</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>A FTPContent provides an object representing either a (ftp-server-side) directory object allowing listing of children or a content object providing access to a (ftp-server-side) file. </dd> <dt><b>Since </b></dt> <dd>OpenOffice 1.1.2</dd> <dt><b>See also</b></dt> <dd><a href="FTPContentProvider.html">FTPContentProvider</a></dd> </dl> </td> </tr> </table> <hr> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XContent.html">XContent</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XContentCreator.html">XContentCreator</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> <dd><p>An object representing a directory in the file system is able to create a new object, which in turn can become the representation of a physical file/directory being contained in the initial directory. The precise way is the following: <p> <ol> <li> Let the parent folder create a new content by calling <a href="XContentCreator.html">XContentCreator</a>::<a href="XContentCreator.html#createNewContent">createNewContent</a> on it. The content type to use for new directories is "application/vnd.sun.staroffice.ftp-folder". To create a new file use the type "application/vnd.sun.staroffice.ftp-file". As return value you get a new file content object. </li> <li> Set a title at the new object by letting it execute the command "setPropertyValues", which sets at least the property "Title" to a non-empty value ). </li> <li> Let the new object ( not the parent! ) execute the command "insert". This will create the corresponding physical file or directory. For files, you need to supply the implementation of an ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a> with the command's parameters, that provides access to the stream data. </li> </ol> </p> </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XCommandProcessor.html">XCommandProcessor</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> <dd><p> <b>Supported Commands</b> <ul> <li> getCommandInfo </li> <li> getPropertySetInfo </li> <li> getPropertyValues </li> <li> setPropertyValues </li> <li> open </li> <li> insert </li> <li> delete </li> </ul> <b>Supported Properties</b> <ul> <li> string ContentType ( read-only, either "application/vnd.sun.staroffice.ftp-folder" or "application/vnd.sun.staroffice.ftp-file" ) </li> <li> boolean IsDocument ( read-only, always <b>true</b> for files, always <b>false</b> for directories ) </li> <li> boolean IsFolder ( read-only ), always <b>false</b> for files, always <b>true</b> for directories ) </li> <li> boolean IsReadOnly ( read-only attribute ) </li> <li> string Title ( file name ) </li> <li> hyper Size ( file size ) </li> <li> string Title ( file name ) </li> <li> ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/DateTime.html">DateTime</a>DateCreated ( read-only ) </li> </ul> </p> </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertiesChangeNotifier.html">XPropertiesChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyContainer.html">XPropertyContainer</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySetInfoChangeNotifier.html">XPropertySetInfoChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XCommandInfoChangeNotifier.html">XCommandInfoChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>