类 Dir

java.lang.Object
com.gdxsoft.easyweb.define.Dir

public class Dir extends Object
  • 构造器详细资料

    • Dir

      public Dir()
    • Dir

      public Dir(String name, String path, String parentPath, boolean isFile)
    • Dir

      public Dir(File file)
  • 方法详细资料

    • getName

      public String getName()
      返回:
      the _Name
    • setName

      public void setName(String name)
      参数:
      name - the _Name to set
    • getPath

      public String getPath()
      返回:
      the _path
    • setPath

      public void setPath(String _path)
      参数:
      _path - the _path to set
    • getParentPath

      public String getParentPath()
      返回:
      the _parentPath
    • setParentPath

      public void setParentPath(String path)
      参数:
      path - the _parentPath to set
    • getExt

      public String getExt()
      返回:
      the _Ext
    • setExt

      public void setExt(String ext)
      参数:
      ext - the _Ext to set
    • isFile

      public boolean isFile()
      返回:
      the _IsFile
    • setFile

      public void setFile(boolean isFile)
      参数:
      isFile - the _IsFile to set
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • getFileExt

      public static String getFileExt(String fileName)