public class RemoteFile
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteFile.RemoteFileBuilder |
Constructor and Description |
---|
RemoteFile(java.lang.String path,
boolean isWin) |
RemoteFile(java.lang.String parent,
java.lang.String child) |
RemoteFile(java.lang.String parent,
java.lang.String child,
boolean isWin) |
Modifier and Type | Method and Description |
---|---|
static RemoteFile |
createRemoteFile(java.lang.String path) |
static RemoteFile |
createRemoteFile(java.lang.String path,
java.lang.String script) |
static RemoteFile |
createRemoteFile(java.lang.String path,
java.lang.String script,
boolean isWindows) |
static RemoteFile.RemoteFileBuilder |
detectSystemByPath(java.lang.String path) |
java.lang.String |
getName() |
java.lang.String |
getPath() |
boolean |
isWin() |
static boolean |
isWindowsPath(java.lang.String path) |
public RemoteFile(java.lang.String path, boolean isWin)
public RemoteFile(java.lang.String parent, java.lang.String child)
public RemoteFile(java.lang.String parent, java.lang.String child, boolean isWin)
public java.lang.String getName()
public java.lang.String getPath()
public boolean isWin()
public static boolean isWindowsPath(java.lang.String path)
public static RemoteFile.RemoteFileBuilder detectSystemByPath(java.lang.String path)
public static RemoteFile createRemoteFile(java.lang.String path, java.lang.String script)
public static RemoteFile createRemoteFile(java.lang.String path)
public static RemoteFile createRemoteFile(java.lang.String path, java.lang.String script, boolean isWindows)