Class ProfilingWriter

    • Constructor Detail

      • ProfilingWriter

        public ProfilingWriter​(LanguageProfile profile)
        Deprecated.
      • ProfilingWriter

        public ProfilingWriter()
        Deprecated.
    • Method Detail

      • getProfile

        public LanguageProfile getProfile()
        Deprecated.
        Returns the language profile being built by this writer. Note that the returned profile gets updated whenever new characters are written. Use the getLanguage() method to get the language that best matches the current state of the profile.
        Returns:
        language profile
      • getLanguage

        public LanguageIdentifier getLanguage()
        Deprecated.
        Returns the language that best matches the current state of the language profile.
        Returns:
        language that best matches the current profile
      • write

        public void write​(char[] cbuf,
                          int off,
                          int len)
        Deprecated.
        Specified by:
        write in class Writer
      • flush

        public void flush()
        Deprecated.
        Ignored.
        Specified by:
        flush in interface Flushable
        Specified by:
        flush in class Writer