@Test public void testUTF16BigByteOrderMarkPlusCopyrightSymbol() throws Exception { byte[] doc = {(byte) 0xFE, (byte) 0xFF, 0, '#', 0, ' ', (byte) 0xC2, (byte) 0xA9}; ByteArrayInputStream in = new ByteArrayInputStream(doc); AbstractAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "/dummy/file"); assertSame("despite BOM as precise match,", PlainAnalyzer.class, fa.getClass()); }
public static AbstractAnalyzer getAnalyzer() { return DEFAULT_ANALYZER_FACTORY.getAnalyzer(); }
AnalyzerGuru { public static AbstractAnalyzer getAnalyzer() { return DEFAULT_ANALYZER_FACTORY.getAnalyzer(); } }
AnalyzerGuru { public static AbstractAnalyzer getAnalyzer() { return DEFAULT_ANALYZER_FACTORY.getAnalyzer(); }  }
AnalyzerGuru { public static AbstractAnalyzer getAnalyzer() { return DEFAULT_ANALYZER_FACTORY.getAnalyzer(); }  static long getVersionNo(); static long getAnalyzerVersionNo(String fileTypeName); static Map<String, Long> getAnalyzersVersionNos(); static Map<String, AnalyzerFactory> getExtensionsMap(); static Map<String, AnalyzerFactory> getPrefixesMap(); static Map<String, AnalyzerFactory> getMagicsMap(); static List<Matcher> getAnalyzerFactoryMatchers(); static Map<String, String> getfileTypeDescriptions(); List<AnalyzerFactory> getAnalyzerFactories(); static void addPrefix(String prefix, AnalyzerFactory factory); static void addExtension(String extension, AnalyzerFactory factory); static LangMap getLangMap(); static AbstractAnalyzer getAnalyzer(); static AbstractAnalyzer getAnalyzer(String fileTypeName); static AbstractAnalyzer getAnalyzer(InputStream in, String file); static void returnAnalyzers(); void populateDocument(Document doc, File file, String path,
        AbstractAnalyzer fa, Writer xrefOut); static void writeXref(AnalyzerFactory factory, Reader in,
            Writer out, Definitions defs,
            Annotation annotation, Project project); static void writeDumpedXref(String contextPath,
            AnalyzerFactory factory, Reader in, Writer out,
            Definitions defs, Annotation annotation, Project project); static AbstractAnalyzer.Genre getGenre(String file); static AbstractAnalyzer.Genre getGenre(InputStream in); static AbstractAnalyzer.Genre getGenre(AnalyzerFactory factory); static AnalyzerFactory findByFileTypeName(String fileTypeName); static AnalyzerFactory findFactory(String factoryClassName); static Class<?> getFactoryClass(String simpleName); static AnalyzerFactory find(InputStream in, String file); static AnalyzerFactory find(String file); static AnalyzerFactory find(InputStream in); }
AnalyzerGuru { public static AbstractAnalyzer getAnalyzer() { return DEFAULT_ANALYZER_FACTORY.getAnalyzer(); }  static long getVersionNo(); static long getAnalyzerVersionNo(String fileTypeName); static Map<String, Long> getAnalyzersVersionNos(); static Map<String, AnalyzerFactory> getExtensionsMap(); static Map<String, AnalyzerFactory> getPrefixesMap(); static Map<String, AnalyzerFactory> getMagicsMap(); static List<Matcher> getAnalyzerFactoryMatchers(); static Map<String, String> getfileTypeDescriptions(); List<AnalyzerFactory> getAnalyzerFactories(); static void addPrefix(String prefix, AnalyzerFactory factory); static void addExtension(String extension, AnalyzerFactory factory); static LangMap getLangMap(); static AbstractAnalyzer getAnalyzer(); static AbstractAnalyzer getAnalyzer(String fileTypeName); static AbstractAnalyzer getAnalyzer(InputStream in, String file); static void returnAnalyzers(); void populateDocument(Document doc, File file, String path,
        AbstractAnalyzer fa, Writer xrefOut); static void writeXref(AnalyzerFactory factory, Reader in,
            Writer out, Definitions defs,
            Annotation annotation, Project project); static void writeDumpedXref(String contextPath,
            AnalyzerFactory factory, Reader in, Writer out,
            Definitions defs, Annotation annotation, Project project); static AbstractAnalyzer.Genre getGenre(String file); static AbstractAnalyzer.Genre getGenre(InputStream in); static AbstractAnalyzer.Genre getGenre(AnalyzerFactory factory); static AnalyzerFactory findByFileTypeName(String fileTypeName); static AnalyzerFactory findFactory(String factoryClassName); static Class<?> getFactoryClass(String simpleName); static AnalyzerFactory find(InputStream in, String file); static AnalyzerFactory find(String file); static AnalyzerFactory find(InputStream in); static final FieldType string_ft_stored_nanalyzed_norms; static final FieldType string_ft_nstored_nanalyzed_norms; }