Class CodecMode


  • public final class CodecMode
    extends Object
    This class is an enumeration type for the two modes that an image codec can be used in, LOAD and SAVE. These values are used as arguments in some of the methods of ImageCodec.
    Since:
    0.7.0
    Author:
    Marco Schmidt
    • Field Detail

      • LOAD

        public static final CodecMode LOAD
        Codec mode load, one of the two possible values of CodecMode. To be used with a codec to indicate that an image is to be read from a stream.
      • SAVE

        public static final CodecMode SAVE
        Codec mode save, one of the two possible values of CodecMode. To be used with a codec to indicate that an image is to be written to a stream.
    • Constructor Detail

      • CodecMode

        private CodecMode()