public class DirEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DirEntry.Directory
A directory in a directory.
|
static class |
DirEntry.File
A file in a directory.
|
Modifier and Type | Field and Description |
---|---|
URI |
link
A link to the entry.
|
String |
name |
String |
path |
Constructor and Description |
---|
DirEntry() |
Modifier and Type | Method and Description |
---|---|
static DirEntryReference |
convert(DirEntry de)
Converts to the "common" format from the subclasses of this class.
|
static DirEntry |
convert(DirEntryReference deref)
Converts from the "common" format to the subclasses of this class.
|
public URI link
public String name
public String path
public static DirEntry convert(DirEntryReference deref)
deref
- The "common" format handle to convert.public static DirEntryReference convert(DirEntry de)
deref
- The subclass of this class to convert.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.