471,319 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Filing progrm in java very urgent

Good morning my dear friends,

I am uppili from India. i am working in one mnc. I need a help very urgent.

"My problem i need to write a program for search a file just like search option at start menu in our computer".

plse give idea, if it possible code.. its very urgent...........
Oct 26 '07 #1
9 1514
dmjpro
2,476 2GB
Good morning my dear friends,

I am uppili from India. i am working in one mnc. I need a help very urgent.

"My problem i need to write a program for search a file just like search option at start menu in our computer".

plse give idea, if it possible code.. its very urgent...........
What you need, GUI or file searching techniques?
First let me know this.
If you looking for GUI then go through Swing if you looking for file searching techniques then have a look at the API Document of "File" class.

Debasis Jana
Oct 26 '07 #2
What you need, GUI or file searching techniques?
First let me know this.
If you looking for GUI then go through Swing if you looking for file searching techniques then have a look at the API Document of "File" class.

Debasis Jana

i want to do file searching techniques. its for server side programing.
i need to search the file from the system by using file name.
Oct 26 '07 #3
dmjpro
2,476 2GB
i want to do file searching techniques. its for server side programing.
i need to search the file from the system by using file name.
I did tell u to have a look at File class in Java.
You will find there some APIs.

Debasis Jana
Oct 26 '07 #4
I did tell u to have a look at File class in Java.
You will find there some APIs.

Debasis Jana
I saw it we have many method but i did 't find the method like copyfile, movefile,searchfile and etc

i wrote the program for copy and move, but i am getting concept about search.
Oct 26 '07 #5
dmjpro
2,476 2GB
I saw it we have many method but i did 't find the method like copyfile, movefile,searchfile and etc

i wrote the program for copy and move, but i am getting concept about search.
Have a look at the APIs on "File.list" and "File.listFiles"
Now apply your logic.

Debasis Jana
Oct 26 '07 #6
r035198x
13,262 8TB
I saw it we have many method but i did 't find the method like copyfile, movefile,searchfile and etc

i wrote the program for copy and move, but i am getting concept about search.
Regular expressions are tailor made for searching and matching.
Oct 26 '07 #7
Regular expressions are tailor made for searching and matching.
i am very sorry to say this i am not able to understand it pls help me..
Oct 26 '07 #8
r035198x
13,262 8TB
i am very sorry to say this i am not able to understand it pls help me..
Just google "regular expressions + Java "
Oct 26 '07 #9
Have a look at the APIs on "File.list" and "File.listFiles"
Now apply your logic.

Debasis Jana
file.list and file.listFiles give only file in one directory but i need to search all the folders in directory. i think so0me other concept hidden in it. what about filters in
io .packag,
Oct 27 '07 #10

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by j. shepherd | last post: by
1 post views Thread by Tracey | last post: by
3 posts views Thread by optionsindia | last post: by
1 post views Thread by editprod | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.