• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating file manager in Java  RSS feed

 
Alexandru Petrosan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • 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"
 
Tim Moores
Saloon Keeper
Posts: 4036
94
  • Mark post as helpful
  • send pies
  • Quote
  • 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?
 
Knute Snortum
Sheriff
Posts: 4288
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • 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: 4288
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • 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.
 
Dave Tolls
Ranch Foreman
Posts: 3068
37
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!