congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TemplateHandler.from
Code IndexAdd Tabnine to your IDE (free)

How to use
from
method
in
com.ociweb.pronghorn.pipe.schema.loader.TemplateHandler

Best Java code snippets using com.ociweb.pronghorn.pipe.schema.loader.TemplateHandler.from (Showing top 9 results out of 315)

origin: com.ociweb/pronghorn-pipes

public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) {
  return from(handler, preambleBytes,"Catalog");
}
origin: com.ociweb/PronghornPipes

public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) {
  return from(handler, preambleBytes,"Catalog");
}
origin: oci-pronghorn/Pronghorn

public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) {
  return from(handler, preambleBytes,"Catalog");
}
origin: com.ociweb/PronghornPipes

public static FieldReferenceOffsetManager loadFrom(InputStream sourceInputStream) throws ParserConfigurationException, SAXException, IOException {
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  sp.parse(sourceInputStream, handler);
  return TemplateHandler.from(handler,(short)0);
}
origin: com.ociweb/pronghorn-pipes

public static FieldReferenceOffsetManager loadFrom(InputStream sourceInputStream) throws ParserConfigurationException, SAXException, IOException {
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  sp.parse(sourceInputStream, handler);
  return TemplateHandler.from(handler,(short)0);
}
origin: oci-pronghorn/Pronghorn

public static FieldReferenceOffsetManager loadFrom(InputStream sourceInputStream) throws ParserConfigurationException, SAXException, IOException {
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  sp.parse(sourceInputStream, handler);
  return TemplateHandler.from(handler,(short)0);
}
origin: com.ociweb/PronghornPipes

public static FieldReferenceOffsetManager loadFrom(String source, short preamble) throws ParserConfigurationException, SAXException, IOException {
  InputStream sourceInputStream = TemplateHandler.class.getResourceAsStream(source);
  File folder = null;
  if (null == sourceInputStream) {
    folder = new File(source);
    if (folder.exists() && !folder.isDirectory()) {
      sourceInputStream = new FileInputStream(source);
    }
  }
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  if (null != sourceInputStream) {
    sp.parse(sourceInputStream, handler);
  } else {
    if (null == folder || null == folder.listFiles()) {
      throw new FileNotFoundException(source);
    }
    for (File f : folder.listFiles()) {
      if (f.isFile()) {
        sp.parse(f, handler);
      }
    }
  }
  return TemplateHandler.from(handler, preamble, simpleName(source));
}
origin: oci-pronghorn/Pronghorn

public static FieldReferenceOffsetManager loadFrom(String source, short preamble) throws ParserConfigurationException, SAXException, IOException {
  InputStream sourceInputStream = TemplateHandler.class.getResourceAsStream(source);
  File folder = null;
  if (null == sourceInputStream) {
    folder = new File(source);
    if (folder.exists() && !folder.isDirectory()) {
      sourceInputStream = new FileInputStream(source);
    }
  }
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  if (null != sourceInputStream) {
    sp.parse(sourceInputStream, handler);
  } else {
    if (null == folder || null == folder.listFiles()) {
      throw new FileNotFoundException(source);
    }
    for (File f : folder.listFiles()) {
      if (f.isFile()) {
        sp.parse(f, handler);
      }
    }
  }
  return TemplateHandler.from(handler, preamble, simpleName(source));
}
origin: com.ociweb/pronghorn-pipes

public static FieldReferenceOffsetManager loadFrom(String source, short preamble) throws ParserConfigurationException, SAXException, IOException {
  InputStream sourceInputStream = TemplateHandler.class.getResourceAsStream(source);
  File folder = null;
  if (null == sourceInputStream) {
    folder = new File(source);
    if (folder.exists() && !folder.isDirectory()) {
      sourceInputStream = new FileInputStream(source);
    }
  }
  TemplateHandler handler = new TemplateHandler();
  SAXParserFactory spfac = SAXParserFactory.newInstance();
  SAXParser sp = spfac.newSAXParser();
  if (null != sourceInputStream) {
    sp.parse(sourceInputStream, handler);
  } else {
    if (null == folder || null == folder.listFiles()) {
      throw new FileNotFoundException(source);
    }
    for (File f : folder.listFiles()) {
      if (f.isFile()) {
        sp.parse(f, handler);
      }
    }
  }
  return TemplateHandler.from(handler, preamble, simpleName(source));
}
com.ociweb.pronghorn.pipe.schema.loaderTemplateHandlerfrom

Popular methods of TemplateHandler

  • loadFrom
  • <init>
  • basicGroupClose
  • basicGroupStart
  • buildDictionaryMemberLists
  • buildToken
  • commonIdAttributes
  • endElement
  • lengthOfArrayForThisType
  • saveResetListMembers
  • setActiveDictionary
  • simpleName
  • setActiveDictionary,
  • simpleName,
  • startElement

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now