public class ByteArrayFontStreamProvider extends Object implements FontStreamProvider
Constructor and Description |
---|
ByteArrayFontStreamProvider(byte[] bytes)
Creates a new instance which will provide access to an
InputStream created from the given byte[]. |
public ByteArrayFontStreamProvider(byte[] bytes)
InputStream
created from the given byte[].bytes
- the byte[] to create a stream frompublic 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
Copyright © 2024 levigo holding gmbh. All rights reserved.