@Response(description="File or directory details") @Bean(properties="type,name,size,lastModified,actions,files") public static class LogsResource.FileResource extends Object
Constructor and Description |
---|
FileResource(File f,
String path,
boolean allowDeletes,
boolean includeChildren) |
Modifier and Type | Method and Description |
---|---|
List<LogsResource.Action> |
getActions() |
Set<LogsResource.FileResource> |
getFiles() |
Date |
getLastModified() |
LinkString |
getName() |
long |
getSize() |
String |
getType() |
public FileResource(File f, String path, boolean allowDeletes, boolean includeChildren)
public LinkString getName()
public long getSize()
@Swap(value=DateSwap.ISO8601DTP.class) public Date getLastModified()
@Html(format=HTML_CDC) public List<LogsResource.Action> getActions() throws Exception
Exception
public Set<LogsResource.FileResource> getFiles()
Copyright © 2018 Apache. All rights reserved.