Pages
Home
crack matlab 2009
phone secret codes
generations of gsm
interview-joke
promote
Parallel port programming using VB
answer java programs for Eular projects
etisalat app ombi
pera engineers
Search This Blog
Popular Posts
split a String by * in java
Let say we have a String something like below. String sample="abc*123"; We want to split this String by '*'. We can...
play sound with matlab
sound -Convert matrix of signal data to sound Syntax sound(y,Fs) sound(y,Fs,bits) Description sound(y,Fs) sends audio signal y to the speak...
sony new phones
There are new phones will remove within next few weeks from sony. Sony xperia tipo, sony xperia tipo dual Sony xperia dual has dual sim...
Configure CAS SSO with mysql database
When i try to configure mysql with CAS There were lots of problem occurred and i cannot find a good tutorials about this.I followed some tut...
java answer for eular project problem 7
PROBLEM 7 By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st pr...
delete a file using java
This delete the file f1 File f1 = new File(file); boolean success = f1.delete(); if (!success){ System.out.println("Deleti...
answer java code for eular problem 10
PROBLEM The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. ANSWER 142913828...
Configure tomcat for SSL protocol
In this post i will show you how to configure tomcat 7.x for SSL protocol in windows First we want to generate certificate file using jav...
samsung smart App Challenge
samsung smart app challenge 2012 This contest offers $4.08 million in cash prizes and mega marketing support for app promotion to the to...
Files on flash drive changed to shortcuts fix
If you did not format your flash drive, then check whether the files are in hidden mode. Then follow these steps: Click on the link below ...
Contributors
Unknown
pradeep
sense
Followers
Sunday, June 3, 2012
get file name from file in java
Published :
2:08 AM
Author :
Unknown
import java.io.File;
public class GetFileName {
public static void main(String[] args){
File file = new File("C:\\Hello.txt");
String fileName= file.getName();
System.out.println("The File is "+fileName);
}
}
0 comments:
Post a Comment
« Newer Post
Older Post »
Home
Subscribe to:
Post Comments (Atom)
Total Pageviews
Blog Archive
►
2013
(14)
►
June
(1)
►
April
(2)
►
March
(2)
►
February
(4)
►
January
(5)
▼
2012
(93)
►
December
(1)
►
November
(5)
►
October
(7)
►
September
(5)
►
August
(18)
►
July
(13)
▼
June
(16)
propeller display totorial
LED cube
Selenium Automation Tool
bondi task manager api reference for samsung widge...
samsung widget examples and docs
really nice doc about concurrency control of OS
add String array into sql table using single query
insert multiple values using single statement in sql
Make a 230V LED lamp
how to backup and read samsung phone messages in a pc
add different colours to fonts in java
how to append string to textarea in another class
compare two DATE in java
How to convert String into java.util.Date
how to exit from a java program
get file name from file in java
►
May
(28)
Powered by
Blogger
.
Spirituosen online kaufen
0 comments:
Post a Comment