org.apache.archiva.webdav.util
Class IndexWriter
java.lang.Object
org.apache.archiva.webdav.util.IndexWriter
public class IndexWriter
- extends Object
Constructor Summary |
IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
File localResource,
String logicalResource)
|
IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
List<File> localResources,
String logicalResource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logicalResource
private final String logicalResource
localResources
private final List<File> localResources
isVirtual
private final boolean isVirtual
IndexWriter
public IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
File localResource,
String logicalResource)
IndexWriter
public IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
List<File> localResources,
String logicalResource)
write
public void write(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
writeDocumentStart
private void writeDocumentStart(PrintWriter writer)
writeDocumentEnd
private void writeDocumentEnd(PrintWriter writer)
writeHyperlinks
private void writeHyperlinks(PrintWriter writer)
fileDateFormat
private static String fileDateFormat(long date)
writeHyperlink
private void writeHyperlink(PrintWriter writer,
String resourceName,
long lastModified,
long fileSize,
boolean directory)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.