Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java resource file

File file = new File(
	getClass().getClassLoader().getResource("database.properties").getFile()
);
Source by mkyong.com #
 
PREVIOUS NEXT
Tagged: #java #resource #file
ADD COMMENT
Topic
Name
3+5 =