public class Formatizer extends Object
Modifier and Type | Field and Description |
---|---|
static URI |
GENERIC_UNKNOWN
The generic unknown format URI.
|
Constructor and Description |
---|
Formatizer() |
Modifier and Type | Method and Description |
---|---|
static URI |
getFormatFromExtension(String extension)
Gets the format given a file extension.
|
static URI |
getFormatFromMime(String mime)
Gets the format given a mime type.
|
static URI |
guessFormat(File file)
Guess format given a file.
|
public static URI GENERIC_UNKNOWN
Copyright © 2014. All rights reserved.