org.apache.archiva.webdav.util
Class IndexWriter

java.lang.Object
  extended by org.apache.archiva.webdav.util.IndexWriter

public class IndexWriter
extends Object


Field Summary
private  boolean isVirtual
           
private  List<File> localResources
           
private  String logicalResource
           
 
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)
           
 
Method Summary
private static String fileDateFormat(long date)
           
 void write(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
           
private  void writeDocumentEnd(PrintWriter writer)
           
private  void writeDocumentStart(PrintWriter writer)
           
private  void writeHyperlink(PrintWriter writer, String resourceName, long lastModified, long fileSize, boolean directory)
           
private  void writeHyperlinks(PrintWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logicalResource

private final String logicalResource

localResources

private final List<File> localResources

isVirtual

private final boolean isVirtual
Constructor Detail

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)
Method Detail

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.