パッケージ org.nkjmlab.util.java.io
クラス SystemFileUtils
java.lang.Object
org.nkjmlab.util.java.io.SystemFileUtils
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明static File
static String
static File
getFileInCurrentDirectory
(String relativePath) static File
getFileInUserDirectory
(File parent, String fileName) Getting a file object in the user directory which is referenced bySystem.getProperty("user.home")
.static File
getFileInUserDirectory
(String fileName) Getting a file object in the user directory which is referenced bySystem.getProperty("user.home")
.static File
Getting a temp file object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.static Path
Getting a path object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.static String
Getting a string object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.static File
getTempFile
(File parent, String fileName) Getting a temp file object in the directory in temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.static File
getTempFile
(String fileName) Getting a temp file object in the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.static File
Getting a file object of the temporal directory which is referenced bySystem.getProperty("user.home")
.static Path
Getting a path object of the directory which is referenced bySystem.getProperty("user.home")
.static String
Getting a string object of the directory which is referenced bySystem.getProperty("user.home")
.
-
コンストラクタの詳細
-
SystemFileUtils
public SystemFileUtils()
-
-
メソッドの詳細
-
getTempDirectory
Getting a temp file object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.- 戻り値:
-
getTempDirectoryPath
Getting a path object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.- 戻り値:
-
getTempDirectoryPathString
Getting a string object of the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.- 戻り値:
-
getUserDirectory
Getting a file object of the temporal directory which is referenced bySystem.getProperty("user.home")
.- 戻り値:
-
getUserDirectoryPath
Getting a path object of the directory which is referenced bySystem.getProperty("user.home")
.- 戻り値:
-
getUserHomeDirectoryPathString
Getting a string object of the directory which is referenced bySystem.getProperty("user.home")
.- 戻り値:
-
getCurrentDirectoryPathString
-
getCurrentDirectory
-
getFileInCurrentDirectory
-
getTempFile
Getting a temp file object in the directory in temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.- パラメータ:
parent
-fileName
-- 戻り値:
-
getTempFile
Getting a temp file object in the temporal directory which is referenced bySystem.getProperty("java.io.tmpdir")
.- パラメータ:
fileName
-- 戻り値:
-
getFileInUserDirectory
Getting a file object in the user directory which is referenced bySystem.getProperty("user.home")
.- パラメータ:
fileName
-- 戻り値:
-
getFileInUserDirectory
Getting a file object in the user directory which is referenced bySystem.getProperty("user.home")
.- パラメータ:
parent
-fileName
-- 戻り値:
-