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

692 lines
36 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
<HTML>
<HEAD>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2002, 2004 by IBM Corporation">
<!-- 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. -->
<meta name="Owner" content="rchinfoc@us.ibm.com">
<meta scheme="rfc1766" name="DC.Language" content="en-us">
<meta scheme="iso8601" name="DC.Date" content="2004-04-01">
<meta name="Security" content="public">
<meta name="Source" content="">
<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="keywords" content="com.ibm.as400.access.IFSSystemView,IFSSystemView class">
<title>IFSSystemView</title>
<link rel="stylesheet" type="text/css" href="javadoc/stylesheet.css" title="Style">
</head>
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_top"><!-- --></a>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/com/ibm/as400/access/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/com/ibm/as400/access/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</td>
<td rowspan="3" align="right" valign="top"><em>
</em>
</td>
</tr>
<tr>
<td class="NavBarCell2" bgcolor="white"><font size="-2">
&nbsp;<a href="javadoc/com/ibm/as400/access/IFSShareOptionEditor.html"><b>PREV CLASS</b></a>&nbsp;
&nbsp;<a href="javadoc/com/ibm/as400/access/IFSTextFileInputStream.html"><b>NEXT CLASS</b></a></font></td>
<td class="NavBarCell2" bgcolor="white"><font size="-2">
<a href="javadoc/index.html" target="_top"><b>FRAMES</b></a> &nbsp;
&nbsp;<a href="ifssystemviewjavadoc.htm" target="_top"><b>NO FRAMES</b></a> &nbsp;
&nbsp;
<noscript>
<A HREF="javadoc/allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</noscript>
</font></td>
</tr>
<tr>
<td class="NavBarCell3" valign="top"><font size="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;<a href="#method_summary">METHOD</a></font></td>
<td class="NavBarCell3" valign="top"><font size="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;<a href="#method_detail">METHOD</a></font></td>
</tr>
</tbody></table>
<!-- =========== END OF NAVBAR =========== -->
<hr>
<!-- ======== START OF CLASS DATA ======== -->
<h2>
<font size="-1">
com.ibm.as400.access</font>
<br>
Class IFSSystemView</h2>
<pre><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">java.lang.Object</a>
|
+--<a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">javax.swing.filechooser.FileSystemView</a>
|
+--<b>com.ibm.as400.access.IFSSystemView</b>
</pre>
<hr>
<dl>
<dt>public class <b>IFSSystemView</b></dt><dt>extends <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></dt></dl>
<p>
IFSSystemView provides a gateway to the iSeries integrated file system,
for use when constructing javax.swing.JFileChooser objects.
</p><p>JFileChooser is a standard Java way to build dialogs for navigating
and choosing files.
</p><p>
The following example demonstrates the use of IFSSystemView.
</p><ul>
<pre>
import com.ibm.as400.access.AS400;
import com.ibm.as400.access.IFSJavaFile;
import com.ibm.as400.access.IFSSystemView;
import javax.swing.JFileChooser;
import java.awt.Frame;
// Work with directory /Dir on the system myAS400.
AS400 system = new AS400("myAS400");
IFSJavaFile dir = new IFSJavaFile(system, "/Dir");
JFileChooser chooser = new JFileChooser(dir, new IFSSystemView(system));
Frame parent = new Frame();
int returnVal = chooser.showOpenDialog(parent);
if (returnVal == JFileChooser.APPROVE_OPTION) {
IFSJavaFile chosenFile = (IFSJavaFile)(chooser.getSelectedFile());
System.out.println("You selected the file named " +
chosenFile.getName());
}
</pre>
</ul>
<p>
</p><p>
</p><dl>
<dt><b>See Also:</b></dt><dd><a href="javadoc/com/ibm/as400/access/IFSJavaFile.html"><code>IFSJavaFile</code></a></dd></dl>
<hr>
<p>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<a name="constructor_summary"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
<td colspan="2"><font size="+2">
<b>Constructor Summary</b></font></td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td><code><b><a href="ifssystemviewjavadoc.htm#IFSSystemView(com.ibm.as400.access.AS400)">IFSSystemView</a></b>(<a href="javadoc/com/ibm/as400/access/AS400.html">AS400</a>&nbsp;system)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an IFSSystemView object.</td>
</tr>
</tbody></table>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<a name="method_summary"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
<td colspan="2"><font size="+2">
<b>Method Summary</b></font></td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#createFileObject(java.io.File,java.lang.String)">createFileObject</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;containingDir,
<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a>&nbsp;name)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a
File object constructed in directory from the given filename. </td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#createFileObject(java.lang.String)">createFileObject</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a>&nbsp;path)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a File object constructed from the given path string.
</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>protected &nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#createFileSystemRoot(java.io.File)">createFileSystemRoot</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#createNewFolder(java.io.File)">createNewFolder</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;containingDir)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new folder with a default name.
</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getDefaultDirectory()">getDefaultDirectory</a></b>()</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the user's default starting directory for the file chooser.
</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>[]</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getFiles(java.io.File,boolean)">getFiles</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;directory,
boolean&nbsp;useFileHiding)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of shown (that is, not hidden) files in the directory.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getHomeDirectory()">getHomeDirectory</a></b>()</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the home directory.
</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getParentDirectory(java.io.File)">getParentDirectory</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent directory of <tt>dir</tt>.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>[]</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getRoots()">getRoots</a></b>()</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all root partitions on this system.
</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getSystemDisplayName(java.io.File)">getSystemDisplayName</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the
name of a file, directory, or folder as it would be displayed in a
system file browser.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/Icon.html">Icon</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getSystemIcon(java.io.File)">getSystemIcon</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Always returns an icon representing an iSeries server.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a></code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#getSystemTypeDescription(java.io.File)">getSystemTypeDescription</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a
type description for a file, directory, or folder as it would be
displayed in a system file browser.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;boolean</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#isComputerNode(java.io.File)">isComputerNode</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Always returns false.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;boolean</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#isDrive(java.io.File)">isDrive</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Always returns false.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;boolean</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#isFileSystemRoot(java.io.File)">isFileSystemRoot</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if f represents the root directory on the server ("/"),
and false otherwise.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;boolean</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#isFloppyDrive(java.io.File)">isFloppyDrive</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Always returns false.</td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td align="right" valign="top" width="1%"><font size="-1">
<code>&nbsp;boolean</code></font></td>
<td><code><b><a href="ifssystemviewjavadoc.htm#isRoot(java.io.File)">isRoot</a></b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;file)</code>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the given file is a root in the navigatable tree(s).
</td>
</tr>
</tbody></table>
&nbsp;<a name="methods_inherited_from_class_javax.swing.filechooser.FileSystemView"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableSubHeadingColor" bgcolor="#eeeeff">
<td><b>Methods inherited from class javax.swing.filechooser.<a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></b></td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getChild(java.io.File,java.lang.String)">getChild</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getFileSystemView()">getFileSystemView</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isFileSystem(java.io.File)">isFileSystem</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isHiddenFile(java.io.File)">isHiddenFile</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isParent(java.io.File,java.io.File)">isParent</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isTraversable(java.io.File)">isTraversable</a></code></td>
</tr>
</tbody></table>
&nbsp;<a name="methods_inherited_from_class_java.lang.Object"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableSubHeadingColor" bgcolor="#eeeeff">
<td><b>Methods inherited from class java.lang.<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html">Object</a></b></td>
</tr>
<tr class="TableRowColor" bgcolor="white">
<td><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">clone</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()">finalize</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()">getClass</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()">hashCode</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()">notify</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()">notifyAll</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()">toString</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()">wait</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)">wait</a>, <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long,int)">wait</a></code></td>
</tr>
</tbody></table>
&nbsp;
</p><p>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<a name="constructor_detail"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
<td colspan="1"><font size="+2">
<b>Constructor Detail</b></font></td>
</tr>
</tbody></table>
<a name="IFSSystemView(com.ibm.as400.access.AS400)"><!-- --></a></p><h3>
IFSSystemView</h3>
<pre>public <b>IFSSystemView</b>(<a href="javadoc/com/ibm/as400/access/AS400.html">AS400</a>&nbsp;system)</pre>
<dl>
<dd>Constructs an IFSSystemView object.
<p>
</p></dd><dt><b>Parameters:</b></dt><dd><code>system</code> - The iSeries system that contains the file.</dd></dl>
<!-- ============ METHOD DETAIL ========== -->
<a name="method_detail"><!-- --></a>
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tbody><tr class="TableHeadingColor" bgcolor="#ccccff">
<td colspan="1"><font size="+2">
<b>Method Detail</b></font></td>
</tr>
</tbody></table>
<a name="createFileObject(java.io.File,java.lang.String)"><!-- --></a><h3>
createFileObject</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>createFileObject</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;containingDir,
<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a>&nbsp;name)</pre>
<dl>
<dd>Returns a File object constructed in directory from the given filename.
<br>Note: This method does not create an actual file in the file system.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#createFileObject(java.io.File,java.lang.String)">createFileObject</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>containingDir</code> - The directory in which to create the file.
<br>containingDir is assumed to represent an existing directory on the server. If null, it is ignored.</dd><dd><code>name</code> - The file name.
</dd><dt><b>Returns:</b></dt><dd>a File object representing the new file.</dd></dl>
</dd>
</dl>
<hr>
<a name="createFileObject(java.lang.String)"><!-- --></a><h3>
createFileObject</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>createFileObject</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a>&nbsp;path)</pre>
<dl>
<dd>Returns a File object constructed from the given path string.
<br>Note: This method does not create an actual file in the file system.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#createFileObject(java.lang.String)">createFileObject</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>path</code> - The file path name.
</dd><dt><b>Returns:</b></dt><dd>the File object.</dd></dl>
</dd>
</dl>
<hr>
<a name="createFileSystemRoot(java.io.File)"><!-- --></a><h3>
createFileSystemRoot</h3>
<pre>protected <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>createFileSystemRoot</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</pre>
<dl>
<dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#createFileSystemRoot(java.io.File)">createFileSystemRoot</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
</dl>
</dd>
</dl>
<hr>
<a name="createNewFolder(java.io.File)"><!-- --></a><h3>
createNewFolder</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>createNewFolder</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;containingDir)
throws <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</a></pre>
<dl>
<dd>Creates a new folder with a default name.
<br>Note: In the context of this class, "folder" is synonymous with "directory".
<p>
</p></dd><dd><dl>
<dt><b>Specified by:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#createNewFolder(java.io.File)">createNewFolder</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>containingDir</code> - The parent directory in which to create the folder.
<br>containingDir is assumed to represent an existing directory on the server.
</dd><dt><b>Returns:</b></dt><dd>a File object representing the new folder.
</dd><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html">IOException</a></code></dd></dl>
</dd>
</dl>
<hr>
<a name="getDefaultDirectory()"><!-- --></a><h3>
getDefaultDirectory</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>getDefaultDirectory</b>()</pre>
<dl>
<dd>Returns the user's default starting directory for the file chooser.
This will represent the 'root' directory on the server.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getDefaultDirectory()">getDefaultDirectory</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Returns:</b></dt><dd>A <code>File</code> object representing the default
starting folder.</dd></dl>
</dd>
</dl>
<hr>
<a name="getFiles(java.io.File,boolean)"><!-- --></a><h3>
getFiles</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>[] <b>getFiles</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;directory,
boolean&nbsp;useFileHiding)</pre>
<dl>
<dd>Gets the list of shown (that is, not hidden) files in the directory.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getFiles(java.io.File,boolean)">getFiles</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>directory</code> - The directory to search.</dd><dd><code>useFileHiding</code> - This parameter is ignored.
</dd><dt><b>Returns:</b></dt><dd>The list of files.</dd></dl>
</dd>
</dl>
<hr>
<a name="getHomeDirectory()"><!-- --></a><h3>
getHomeDirectory</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>getHomeDirectory</b>()</pre>
<dl>
<dd>Returns the home directory.
<br>The iSeries integrated file system has one home directory, the "/" directory.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getHomeDirectory()">getHomeDirectory</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Returns:</b></dt><dd>the home directory.</dd></dl>
</dd>
</dl>
<hr>
<a name="getParentDirectory(java.io.File)"><!-- --></a><h3>
getParentDirectory</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a> <b>getParentDirectory</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</pre>
<dl>
<dd>Returns the parent directory of <tt>dir</tt>.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getParentDirectory(java.io.File)">getParentDirectory</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>dir</code> - The directory being queried.
<br><tt>dir</tt> is assumed to represent an existing directory on the server.
</dd><dt><b>Returns:</b></dt><dd>the parent directory of <tt>dir</tt>, or null if <tt>dir</tt> is null.</dd></dl>
</dd>
</dl>
<hr>
<a name="getRoots()"><!-- --></a><h3>
getRoots</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>[] <b>getRoots</b>()</pre>
<dl>
<dd>Returns all root partitions on this system.
<br>The iSeries integrated file system has one root partition, the "/" directory.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getRoots()">getRoots</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Returns:</b></dt><dd>all root partitions on this system.</dd></dl>
</dd>
</dl>
<hr>
<a name="getSystemDisplayName(java.io.File)"><!-- --></a><h3>
getSystemDisplayName</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a> <b>getSystemDisplayName</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</pre>
<dl>
<dd>Returns the name of a file, directory, or folder as it would be displayed in
a system file browser.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getSystemDisplayName(java.io.File)">getSystemDisplayName</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>f</code> - A <code>File</code> object.
</dd><dt><b>Returns:</b></dt><dd>The file name as it would be displayed by a native file chooser.</dd></dl>
</dd>
</dl>
<hr>
<a name="getSystemIcon(java.io.File)"><!-- --></a><h3>
getSystemIcon</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/Icon.html">Icon</a> <b>getSystemIcon</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</pre>
<dl>
<dd>Always returns an icon representing an iSeries server.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getSystemIcon(java.io.File)">getSystemIcon</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
</dl>
</dd>
</dl>
<hr>
<a name="getSystemTypeDescription(java.io.File)"><!-- --></a><h3>
getSystemTypeDescription</h3>
<pre>public <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html">String</a> <b>getSystemTypeDescription</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</pre>
<dl>
<dd>Returns a type description for a file, directory, or folder as it would be displayed in
a system file browser.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#getSystemTypeDescription(java.io.File)">getSystemTypeDescription</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>f</code> - A <code>File</code> object.
</dd><dt><b>Returns:</b></dt><dd>The file type description as it would be displayed by a native file chooser
or null if no native information is available.</dd></dl>
</dd>
</dl>
<hr>
<a name="isComputerNode(java.io.File)"><!-- --></a><h3>
isComputerNode</h3>
<pre>public boolean <b>isComputerNode</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</pre>
<dl>
<dd>Always returns false.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isComputerNode(java.io.File)">isComputerNode</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
</dl>
</dd>
</dl>
<hr>
<a name="isDrive(java.io.File)"><!-- --></a><h3>
isDrive</h3>
<pre>public boolean <b>isDrive</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</pre>
<dl>
<dd>Always returns false.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isDrive(java.io.File)">isDrive</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
</dl>
</dd>
</dl>
<hr>
<a name="isFloppyDrive(java.io.File)"><!-- --></a><h3>
isFloppyDrive</h3>
<pre>public boolean <b>isFloppyDrive</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;dir)</pre>
<dl>
<dd>Always returns false.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isFloppyDrive(java.io.File)">isFloppyDrive</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
</dl>
</dd>
</dl>
<hr>
<a name="isFileSystemRoot(java.io.File)"><!-- --></a><h3>
isFileSystemRoot</h3>
<pre>public boolean <b>isFileSystemRoot</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;f)</pre>
<dl>
<dd>Returns true if f represents the root directory on the server ("/"),
and false otherwise.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isFileSystemRoot(java.io.File)">isFileSystemRoot</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>f</code> - A <code>File</code> object representing a directory.
</dd><dt><b>Returns:</b></dt><dd><code>true</code> if <code>f</code> is a root of a filesystem</dd></dl>
</dd>
</dl>
<hr>
<a name="isRoot(java.io.File)"><!-- --></a><h3>
isRoot</h3>
<pre>public boolean <b>isRoot</b>(<a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html">File</a>&nbsp;file)</pre>
<dl>
<dd>Determines if the given file is a root in the navigatable tree(s).
<br>The iSeries integrated file system has one root, the "/" directory.
<p>
</p></dd><dd><dl>
<dt><b>Overrides:</b></dt><dd><code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html#isRoot(java.io.File)">isRoot</a></code> in class <code><a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/filechooser/FileSystemView.html">FileSystemView</a></code></dd></dl>
</dd>
<dd><dl>
<dt><b>Parameters:</b></dt><dd><code>file</code> - A File object representing a directory.
</dd><dt><b>Returns:</b></dt><dd>true if file is a root in the navigatable tree.</dd></dl>
</dd>
</dl>
<!-- ========= END OF CLASS DATA ========= -->
<hr>
<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_bottom"><!-- --></a>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/com/ibm/as400/access/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/com/ibm/as400/access/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="javadoc/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</td>
<td rowspan="3" align="right" valign="top"><em>
</em>
</td>
</tr>
<tr>
<td class="NavBarCell2" bgcolor="white"><font size="-2">
&nbsp;<a href="javadoc/com/ibm/as400/access/IFSShareOptionEditor.html"><b>PREV CLASS</b></a>&nbsp;
&nbsp;<a href="javadoc/com/ibm/as400/access/IFSTextFileInputStream.html"><b>NEXT CLASS</b></a></font></td>
<td class="NavBarCell2" bgcolor="white"><font size="-2">
<a href="javadoc/index.html" target="_top"><b>FRAMES</b></a> &nbsp;
&nbsp;<a href="ifssystemviewjavadoc.htm" target="_top"><b>NO FRAMES</b></a> &nbsp;
&nbsp;
<noscript>
<A HREF="javadoc/allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</noscript>
</font></td>
</tr>
<tr>
<td class="NavBarCell3" valign="top"><font size="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;<a href="#method_summary">METHOD</a></font></td>
<td class="NavBarCell3" valign="top"><font size="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;<a href="#method_detail">METHOD</a></font></td>
</tr>
</tbody></table>
<!-- =========== END OF NAVBAR =========== -->
<hr>
</body></html>