| Package | Description |
|---|---|
| org.osgl.util |
| Modifier and Type | Method and Description |
|---|---|
static MimeType |
MimeType.findByContentType(String contentType) |
static MimeType |
MimeType.findByFileExtension(String fileExtension) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<MimeType> |
MimeType.allMimeTypes() |
static List<MimeType> |
MimeType.filterByTrait(MimeType.Trait trait) |
| Modifier and Type | Method and Description |
|---|---|
STAGE |
IO.ReadStageBase.contentType(MimeType type) |
<T> T |
IO.InputStreamHandler.read(InputStream is,
Type targetType,
MimeType mimeType,
Object hint)
Read an
InputStream and construct an instance of type. |
static void |
IO.registerInputStreamHandler(MimeType type,
IO.InputStreamHandler handler)
Associate an
IO.InputStreamHandler with a specific MimeType |
boolean |
MimeType.Trait.test(MimeType mimeType) |
Copyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.