コード例 #1
0
 private String getNextLineColumn(int iCol) {
   ArrayList<String> tokens = getNextLineAsColumns();
   if (tokens != null) {
     if (iCol >= tokens.size()) {
       throw new RuntimeException(
           "Illegal column index: "
               + iCol
               + " (too few columns on line): "
               + currLine
               + "\n  Line:["
               + StringUtils.buildLineFromTokens(tokens, colSep)
               + "]");
     }
     return tokens.get(iCol);
   }
   return null;
 }
コード例 #2
0
 protected void debug(int level, String str) {
   if (level <= _debugLevel) StringUtils.outputDebugStr(str);
 }