Package org.apache.sis.internal.storage

Examples of org.apache.sis.internal.storage.ChannelDataInput.prefetch()


     */
    final boolean prefetch() throws DataStoreException {
        try {
            final ChannelDataInput c = getView(ChannelDataInput.class);
            if (c != null) {
                return c.prefetch() >= 0;
            }
            /*
             * The above code is the usual case. The code below this point is the fallback used when only
             * an ImageInputStream was available. In such case, the ByteBuffer can only be the one created
             * by the above createByteBuffer() method, which is known to be backed by a writable array.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.