parsing - J2ME Properties -


j2me lacks java.util.properties class. although possible put application settings in jad file not recommended many properties. (since, platforms limits size of jad file.) want put configuration file inside jar file , parse it. , not want go xml because overshooting case.

question is, there existing library j2me can parse properties files or similar such ini file. or recommend method solve initial problem?

the best solution depends on going generating properties files.

if you've got other non-javame projects using same properties files, stick them, , write or find parser. (there a simple 1 gobible available on google code)

however might find easy keep configuration static final string myproperty="myvalue"; in configuration.java file compile, , include in jar instead, since not need special code locate, open, read, , parse them.

you pick limitation on call them though, since can no longer use common dot separated namespacing idiom.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -