public class DirectoryUtils extends Object
Constructor and Description |
---|
DirectoryUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
dirSize(org.apache.lucene.store.Directory directory) |
static long |
getFileLength(org.apache.lucene.store.Directory dir,
String fileName)
Get the file length in best effort basis.
|
public static long getFileLength(org.apache.lucene.store.Directory dir, String fileName)
public static long dirSize(org.apache.lucene.store.Directory directory) throws IOException
IOException
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.