类 UserDirUtils
- java.lang.Object
-
- io.github.kylinhunter.commons.io.file.UserDirUtils
-
public class UserDirUtils extends java.lang.Object- 作者:
- BiJi'an
- Description:
- Date:
- 2022/1/1
-
-
构造器概要
构造器 构造器 说明 UserDirUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voiddeleteQuietly(java.io.File file)static java.io.Fileget()static java.io.FilegetDir(boolean create, java.lang.String... child)static java.io.FilegetDir(java.lang.String... child)static java.io.FilegetDirConfig()static java.io.FilegetFile(boolean createParent, boolean createFile, java.lang.String child)static java.io.FilegetFile(boolean createParent, java.lang.String child)static java.io.FilegetFile(java.lang.String... child)static java.io.FilegetTmpDir()static java.io.FilegetTmpDir(boolean create, java.lang.String child)static java.io.FilegetTmpDir(java.lang.String... child)static java.io.FilegetTmpFile(boolean createParent, boolean createFile, java.lang.String... child)static java.io.FilegetTmpFile(boolean createParent, java.lang.String... child)static java.io.FilegetTmpFile(java.lang.String child)
-
-
-
方法详细资料
-
get
public static java.io.File get()
- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDir
-
getDir
public static java.io.File getDir(java.lang.String... child)
-
getDir
public static java.io.File getDir(boolean create, java.lang.String... child)- 参数:
child- the children file- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDir
-
getFile
public static java.io.File getFile(java.lang.String... child)
-
getFile
public static java.io.File getFile(boolean createParent, java.lang.String child)
-
getFile
public static java.io.File getFile(boolean createParent, boolean createFile, java.lang.String child)- 参数:
child- the children file- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDir
-
getTmpDir
public static java.io.File getTmpDir()
- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDirTmp
-
getTmpDir
public static java.io.File getTmpDir(java.lang.String... child)
-
getTmpDir
public static java.io.File getTmpDir(boolean create, java.lang.String child)- 参数:
child- the children filecreate- whether to create file or dir- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDirTmp
-
getTmpFile
public static java.io.File getTmpFile(java.lang.String child)
-
getTmpFile
public static java.io.File getTmpFile(boolean createParent, java.lang.String... child)- 参数:
child- the children file- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:57
- Title:
- getUserDir
-
getTmpFile
public static java.io.File getTmpFile(boolean createParent, boolean createFile, java.lang.String... child)
-
getDirConfig
public static java.io.File getDirConfig()
- 返回:
- java.io.File
- Description:
- Date:
- 2022-01-01 01:58
- Title:
- getExClassPath
-
deleteQuietly
public static void deleteQuietly(java.io.File file)
- 参数:
file- the file to delete- Description:
- Date:
- 2022-01-01 01:58
- Title:
- deleteQuietly
-
-