ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/filelist.htm

66 lines
4.9 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="FileListElement class" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="filelist" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>FileListElement class</title>
</head>
<body id="filelist"><a name="filelist"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">FileListElement class</h1>
<div><p></p>
<div class="section"><p>The <a href="javadoc/com/ibm/as400/util/html/FileListElement.html">FileListElement</a> class allows you to create a file list
element, which represents the contents of an integrated file system directory.</p>
<p>You
can use the FileListElement object to represent the contents of a NetServer™
shared drive by getting and setting the name and path of NetServer shared
drives.</p>
<p>The FileListElement class provides methods that allow you to:</p>
<ul><li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#LIST()"> List</a> and <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SORT(BOOLEAN)"> sort</a> the elements of the file list</li>
<li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#GETHTTPSERVLETREQUEST()"> Get</a> and <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SETHTTPSERVLETREQUEST(JAVAX.SERVLET.HTTP.HTTPSERVLETREQUEST)"> set</a> the HTTP Servlet Request</li>
<li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#GETRENDERER()"> Get</a> and <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SETRENDERER(COM.IBM.AS400.UTIL.HTML.FILELISTRENDERER)"> set</a> the FileListRenderer</li>
<li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#GETTABLE()"> Get</a> and <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SETTABLE(COM.IBM.AS400.UTIL.HTML.HTMLTABLE)"> set</a> the HTMLTable with which to display the file list</li>
<li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#GETSHARENAME()">Get</a> or <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SETSHARENAME(JAVA.LANG.STRING)">set</a> the name of a NetServer shared drive</li>
<li><a href="javadoc/com/ibm/as400/util/html/FileListElement.html#GETSHAREPATH()">Get</a> or <a href="javadoc/com/ibm/as400/util/html/FileListElement.html#SETSHAREPATH(JAVA.LANG.STRING)">set</a> the path of a NetServer shared drive</li>
</ul>
<p>You can use the FileListElement class with other classes in the html
package:</p>
<ul><li>With a <a href="filelistrenderer.htm#filelistrenderer"> FileListRenderer</a>,
you can specify how you want to display the list of files</li>
<li>With the <a href="javadoc/com/ibm/as400/util/html/FileTreeElement.html"> FileTreeElement</a> class, you can create a traversable
list of integrated file system files or NetServer shared files</li>
</ul>
<p>The <a href="javadoc/com/ibm/as400/util/html/FileListElement.html"> FileListElement javadoc</a> shows how to create and display
a FileListElement object.</p>
</div>
<div class="section" id="filelist__filelistex"><a name="filelist__filelistex"><!-- --></a><h4 class="sectiontitle">Example: Using FileListElement to create a
traversable integrated file system tree</h4><p>The following example shows
how you can use the FileListElement class with <a href="htmltree.htm#htmltree">HTMLTree
classes</a> (FileTreeElement and <a href="javadoc/com/ibm/as400/util/html/HTMLTreeElement.html">HTMLTreeElement</a>) to create a traversable integrated file
system tree. The example also includes code for setting the path of a NetServer shared
drive.</p>
<blockquote><a href="htmtreeex.htm#htmtreeex">Example: Creating a traversable integrated file system tree</a></blockquote>
</div>
</div>
</body>
</html>