public class ScpEntry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScpEntry.EType |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsString() |
String |
getMode() |
String |
getName() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isEndOfDirectory() |
boolean |
isFile() |
static ScpEntry |
newDirectory(String name) |
static ScpEntry |
newDirectory(String name,
String mode) |
static ScpEntry |
newEndOfDirectory() |
static ScpEntry |
newFile(String name,
long size) |
static ScpEntry |
newFile(String name,
long size,
String mode) |
public String getMode()
public String getName()
public long getSize()
public boolean isDirectory()
public boolean isEndOfDirectory()
public boolean isFile()
@Nonnull public static ScpEntry newDirectory(String name) throws IOException
IOException@Nonnull public static ScpEntry newDirectory(String name, String mode) throws IOException
IOException@Nonnull public static ScpEntry newEndOfDirectory() throws IOException
IOException@Nonnull public static ScpEntry newFile(String name, long size) throws IOException
IOException@Nonnull public static ScpEntry newFile(String name, long size, String mode) throws IOException
IOExceptionCopyright © 2020 Philip Helger. All rights reserved.