com.taobao.metamorphosis.utils
类 Utils

java.lang.Object
  继承者 com.taobao.metamorphosis.utils.Utils

public class Utils
extends Object

从以下版本开始:
2011-5-27 下午05:07:00
作者:
无花

嵌套类摘要
static class Utils.Action
           
 
构造方法摘要
Utils()
           
 
方法摘要
static File getResourceAsFile(String resource)
           
static Properties getResourceAsProperties(String resource, String encoding)
           
static void processEachLine(String string, Utils.Action action)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Utils

public Utils()
方法详细信息

getResourceAsProperties

public static Properties getResourceAsProperties(String resource,
                                                 String encoding)
                                          throws IOException
抛出:
IOException

getResourceAsFile

public static File getResourceAsFile(String resource)
                              throws IOException
抛出:
IOException

processEachLine

public static void processEachLine(String string,
                                   Utils.Action action)
                            throws IOException
抛出:
IOException


Copyright © 2010–2013. All rights reserved.