×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I just looked over the javadoc. It appears that all files should be returned, hidden or not. Are you sure the user profile has authority to list the hidden files? The javadoc says the class implements a security manager based on i security.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Tuesday, March 01, 2011 3:17 PM
To: Java Programming on and around the IBM i
Subject: Re: Hidden files on IFSJavaFile.list()?
Dan Kimmel wrote:
The period in front of a file name is the unix way of designating a
"hidden" file or directory. Most unix-oriented file system commands
routinely omit hidden files unless explicitly included.
Yes, I'm aware of that.
My question is: Is there a way I can tell JT400 to include the 'hidden' files when I do a list() operation?
Is there a file name filter that I can use that will include them?
When operating on Windows, directory.list() returns hidden files as well as normal files.
david
--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.