public class ArchiveGuesser extends Object
Constructor and Description |
---|
ArchiveGuesser() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isArchive(Document document) |
static boolean |
isArchive(String name) |
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.