Package org.exoplatform.services.common

Examples of org.exoplatform.services.common.DataReader


      return createDocument(chars);
   }

   public static synchronized XMLDocument createDocument(InputStream input, String charset) throws Exception
   {
      DataReader reader = ServicesContainer.get(ServiceType.SOFT_REFERENCE, READER_ID, DataReader.class);
      return createDocument(reader.loadInputStream(input).toByteArray(), charset);
   }
View Full Code Here


      return createDocument(reader.loadInputStream(input).toByteArray(), charset);
   }

   public static synchronized XMLDocument createDocument(File file, String charset) throws Exception
   {
      DataReader reader = ServicesContainer.get(ServiceType.SOFT_REFERENCE, READER_ID, DataReader.class);
      return createDocument(reader.load(file), charset);
   }
View Full Code Here

      return createDocument(chars);
   }

   public static synchronized HTMLDocument createDocument(InputStream input, String charset) throws Exception
   {
      DataReader reader = ServicesContainer.get(ServiceType.SOFT_REFERENCE, READER_ID, DataReader.class);
      return createDocument(reader.loadInputStream(input).toByteArray(), charset);
   }
View Full Code Here

      return createDocument(reader.loadInputStream(input).toByteArray(), charset);
   }

   public static synchronized HTMLDocument createDocument(File file, String charset) throws Exception
   {
      DataReader reader = ServicesContainer.get(ServiceType.SOFT_REFERENCE, READER_ID, DataReader.class);
      return createDocument(reader.load(file), charset);
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.common.DataReader

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.