Package utilities.util
Class FileResolutionResult
- java.lang.Object
-
- utilities.util.FileResolutionResult
-
public class FileResolutionResult extends java.lang.Object
A simple class that holds info relating to the result of verifying a file's existence and proper usage of case.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileResolutionResult.FileResolutionStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileResolutionResult
createDoesNotExistResult()
static FileResolutionResult
doesNotExist(ResourceFile file)
java.lang.String
getMessage()
FileResolutionResult.FileResolutionStatus
getStatus()
boolean
isOk()
static FileResolutionResult
notCaseDependent(java.lang.String canonicalPath, java.lang.String userPath)
static FileResolutionResult
ok()
-
-
-
Method Detail
-
doesNotExist
public static FileResolutionResult doesNotExist(ResourceFile file)
-
notCaseDependent
public static FileResolutionResult notCaseDependent(java.lang.String canonicalPath, java.lang.String userPath)
-
ok
public static FileResolutionResult ok()
-
createDoesNotExistResult
public static FileResolutionResult createDoesNotExistResult()
-
getStatus
public FileResolutionResult.FileResolutionStatus getStatus()
-
getMessage
public java.lang.String getMessage()
-
isOk
public boolean isOk()
-
-