configuration - Java ini without spaces -
i have attempted use ini4j , inieditor alter java ini configuration file. unfortunately, both libraries rewrite file putting spaces besides = sign...
this breaks c library attempting configure.
#this sample of get: [root] role = administrator last_login = 2003-05-16 #this need: [root] role=administrator last_login=2003-05-16
i saw ini4j has named fancyiniformatter apparently unable find proper documentation on usage... http://www.jarvana.com/jarvana/view/org/ini4j/ini4j/0.4.0/ini4j-0.4.0.jar!/org/ini4j/addon/fancyiniformatter.class?classdetails=ok
i hoping natively library can load file , perform regex operation if can avoid great.
thanks,
the ini4j formater based on config. in config separator set char '=', in class iiniformatter have declaration of separator string " = ". type used when config#isstrictoperator
set false.
config config = new config(); config.setstrictoperator(true); iniformmater formater = iniformmater.newinstance(out, config);
Comments
Post a Comment