public class InputStreamFontStreamProvider extends Object implements FontStreamProvider, com.levigo.jadice.fontmanager.internal.ProvidesCacheable
Constructor and Description |
---|
InputStreamFontStreamProvider(InputStream stream)
Creates a new instance which will provide access to the given
InputStream . |
Modifier and Type | Method and Description |
---|---|
SeekableInputStream |
get()
Provides an instance of
T . |
Object |
getCacheKey() |
public InputStreamFontStreamProvider(InputStream stream)
InputStream
.stream
- the InputStream
to provide access topublic SeekableInputStream get() throws IOException
Provider
T
. Must never return null
. Whether this method may be
called more that one time is not specified. Supporting multiple calls is up to the
implementation.get
in interface Provider<SeekableInputStream,IOException>
IOException
public Object getCacheKey()
getCacheKey
in interface com.levigo.jadice.fontmanager.internal.ProvidesCacheable
Copyright © 2024 levigo holding gmbh. All rights reserved.