public abstract class AbstractImagePreloader extends Object implements ImagePreloader
DEFAULT_PRIORITY
构造器和说明 |
---|
AbstractImagePreloader() |
限定符和类型 | 方法和说明 |
---|---|
protected byte[] |
getHeader(ImageInputStream in,
int size)
Allows to read an image header (usually just a magic number).
|
int |
getPriority()
Returns the priority of the preloader.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
preloadImage
protected byte[] getHeader(ImageInputStream in, int size) throws IOException
in
- the ImageInputStream to read fromsize
- the size of the headerIOException
- if an I/O error occurs while reading the headerpublic int getPriority()
getPriority
在接口中 ImagePreloader
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.