public class IndexWriter extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
isVirtual |
private List<File> |
localResources |
private String |
logicalResource |
Constructor and Description |
---|
IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
File localResource,
String logicalResource) |
IndexWriter(org.apache.jackrabbit.webdav.DavResource resource,
List<File> localResources,
String logicalResource) |
Modifier and Type | Method and Description |
---|---|
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) |
private final String logicalResource
private final List<File> localResources
private final boolean isVirtual
public IndexWriter(org.apache.jackrabbit.webdav.DavResource resource, File localResource, String logicalResource)
public IndexWriter(org.apache.jackrabbit.webdav.DavResource resource, List<File> localResources, String logicalResource)
public void write(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
private void writeDocumentStart(PrintWriter writer)
private void writeDocumentEnd(PrintWriter writer)
private void writeHyperlinks(PrintWriter writer)
private static String fileDateFormat(long date)
private void writeHyperlink(PrintWriter writer, String resourceName, long lastModified, long fileSize, boolean directory)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.