Click here to Skip to main content
15,891,431 members
Articles / Programming Languages / Java

How to get the input file's class without knowing it (java)

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
6 Nov 2012CPOL 0  
OKOK. This is basically more text format thingy. You need to parse the text depending on patterns.http://docs.oracle.com/javase/tutorial/java/data/comparestrings.html[^]EDIT: I found a link that describes a technique on how to do that:http://www.rgagnon.com/javadetails/java-0420.html[^]

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 6-Nov-12 1:04 Available TorstenH.
Updates in content. 105 changes had been made.
1 No 6-Nov-12 1:00 Available TorstenH.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions