public class ArchiveGuesser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ARCHIVE_EXTENSIONS |
| Constructor and Description |
|---|
ArchiveGuesser() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isArchive(Document document) |
static boolean |
isArchive(String name) |
public static final String[] ARCHIVE_EXTENSIONS
public static final boolean isArchive(Document document)
document - the current document.public static final boolean isArchive(String name)
name - file name to check against.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.