Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Creating file manager in Java

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please help!

"Create an application that functions as file manager . The application must have the following functions:
review folders ,
information display files / folders in tabular form ,
name,
way
size,
creation date ,
last modification date ,
creating folders ,
option for renaming files / folders ,
option to copy files / folders full
option for moving files / folders full
option for deleting files / folders .
We advise you to use the following commands for these operations, in this order: LIST, INFO , CREATE_DIR ,
RENAME , COPY , MOVE , DELETE.
Once you enter a command in the console , the application displays the message about ordering recognized ( or
unrecognized , if the order is wrong ) and continues to collect information necessary to perform
All the operations mentioned above"
 
Saloon Keeper
Posts: 5812
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Report post to moderator
Help with what, exactly? That sounds like homework you're supposed to be doing. What do you have so far, and where are you stuck making progress? If you haven't started, what ideas have you had?
 
Sheriff
Posts: 6270
167
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Two things about posting code: one is to UseCodeTags (that's a link). I've added them for you this time. The other is to indent properly. It is a common mistake of beginning programmers to not indent their programs.
 
Knute Snortum
Sheriff
Posts: 6270
167
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
What I notice from a quick overview of your program is that most of the code in is the main() method. See this link about that. Basically, your main() method should have one or two lines in it launching the application. Then put your code to list a file, move and file, etc. into separate methods.

I also notice that you don't have any code to process input from the user. That should go into a method too.
 
Rancher
Posts: 4277
47
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator

Dave Tolls wrote:Crossposted at Java Forum:
http://www.java-forums.org/new-java/95688-creating-file-manager-java.html




Why??? I realy need that code, the vrey same one.

Can you post it here pleas?
 
Saloon Keeper
Posts: 6246
58
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
 
Marshal
Posts: 65842
250
  • Mark post as helpful
  • send pies
  • Report post to moderator

Two years ago, Dave Tolls wrote:Crossposted at Java Forum:
http://www.java-forums.org/new-java/95688-creating-file-manager-java.html

But that link no longer works.
 
Popeye has his spinach. I have this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!