public class DirEntryReference extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DirEntryReference.DirectoryReference
A reference to a directory, done with JAXB.
|
static class |
DirEntryReference.FileReference
A reference to a file, done with JAXB.
|
Modifier and Type | Field and Description |
---|---|
URI |
link
A link to the entry.
|
String |
name
The last, user-displayable part of the name.
|
String |
path
The path of the entry.
|
Constructor and Description |
---|
DirEntryReference() |
Modifier and Type | Method and Description |
---|---|
static DirEntryReference |
newInstance(DirectoryEntry entry)
Return the directory entry reference instance subclass suitable for the
given directory entry.
|
static DirEntryReference |
newInstance(javax.ws.rs.core.UriBuilder ub,
DirectoryEntry entry)
Return the directory entry reference instance subclass suitable for the
given directory entry.
|
public URI link
public String name
public String path
public static DirEntryReference newInstance(DirectoryEntry entry)
entry
- The entry to characterise.public static DirEntryReference newInstance(javax.ws.rs.core.UriBuilder ub, DirectoryEntry entry)
ub
- Used for constructing URIs. The link
field is not
filled in if this is null.entry
- The entry to characterise.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.