| java.lang.Object com.sun.portal.search.util.PBlock
PBlock | public class PBlock (Code) | | PBlock config file handling
|
parsePBlockConfigFile | public static void parsePBlockConfigFile(String filename, Map map) throws Exception(Code) | | Read all of the parameters from a pblock config file into a map
|
quotedString | public static String quotedString(String value)(Code) | | Return a escaped , and quoted if needed, string
|
str2pblock | public static void str2pblock(String line, Map map) throws Exception(Code) | | Puts the contents of string into the Map as AV pairs.
pbstr looks like a=b c=d e=f g h, etc. Each value may
be surrounded by quotes "" which are stripped, and
contain internal escaped chars, ie, \c (esp \"), which
are unescaped.
|
|
|