Package org.teiid.core.types.InputStreamFactory

Examples of org.teiid.core.types.InputStreamFactory.FileInputStreamFactory


      if (files == null || index >= files.length) {
        return null;
      }
      ArrayList<Object> result = new ArrayList<Object>(2);
      final File file = files[index++];
      FileInputStreamFactory isf = new FileInputStreamFactory(file);
      isf.setLength(file.length());
      Object value = null;
      if (isText) {
        ClobImpl clob = new ClobImpl(isf, -1);
        clob.setEncoding(encoding.name());
        value = new ClobType(clob);
View Full Code Here

TOP

Related Classes of org.teiid.core.types.InputStreamFactory.FileInputStreamFactory

Copyright © 2018 www.massapicom. 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.