Class PerforceCharsetProvider


  • public class PerforceCharsetProvider
    extends java.nio.charset.spi.CharsetProvider
    CharsetProvider implementation which makes available the charsets provided by Perforce.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.charset.Charset charsetForName​(java.lang.String charsetName)
      Called by Charset static methods to find a particular named Charset.
      java.util.Iterator<java.nio.charset.Charset> charsets()
      Return an Iterator over the set of Charset objects we provide.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PerforceCharsetProvider

        public PerforceCharsetProvider()
        Instantiate a charset object.
    • Method Detail

      • charsetForName

        public java.nio.charset.Charset charsetForName​(java.lang.String charsetName)
        Called by Charset static methods to find a particular named Charset.
        Specified by:
        charsetForName in class java.nio.charset.spi.CharsetProvider
      • charsets

        public java.util.Iterator<java.nio.charset.Charset> charsets()
        Return an Iterator over the set of Charset objects we provide.
        Specified by:
        charsets in class java.nio.charset.spi.CharsetProvider