473,237 Members | 1,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,237 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 1596
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

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

Similar topics

2
by: Eyal | last post by:
Hey, I would appriciate if anyone can help on this one: I have a java object/inteface having a method with a boolean parameter. As I'm trying to call this method from a javascript it fails on...
2
by: j. shepherd | last post by:
I am looking for a filing software for the office. I need to get all of the files in the office entered into some type of software or database, that I can pull up scanned documents, location of...
1
by: Tracey | last post by:
It's a urgent problem. Any advice would be appreciated greatly. My project set up Java processing code and MySQL database server in a Linux machine. I want to implement client/server...
5
by: omri | last post by:
Hi everyody, i have a complex problem (kind of urgent). i wrote a website in asp.net 2.0, one of the classes execute a java class (which is the steady part of the project ) by the way i'm doing...
5
by: Niall | last post by:
I'm experience problems very similar to those reported in this thread on dotnet.framework on May 16 at...
3
by: optionsindia | last post by:
hi partners, we are having a urgent requirement for java architect with our clients located at chennai,hyderabad and bangalore if u r intrested send u r updated resume mail to:...
1
by: editprod | last post by:
I'd like to create an Access database for my the central filing system of my office. My boss can never find where files are. We have approx. 2000 files in a dozen file drawers, each drawer with a...
0
by: HiteshMehra | last post by:
Hi all, I am getting an error while trying to connect to the MQ. The error is java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION at...
5
by: Ananthu | last post by:
Hi I have done all the codings part for connecting mysql server with java application but when i try to compile,the compilation is successful and during execution i get the following message, ...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.