com.aspose.html

Class MeteredStreamCounter

  • java.lang.Object
    • com.aspose.html.internal.ms.System.IO.Stream
      • com.aspose.html.MeteredStreamCounter
  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.IDisposable


    public class MeteredStreamCounter
    extends com.aspose.html.internal.ms.System.IO.Stream
    • Constructor Detail

      • MeteredStreamCounter

        public MeteredStreamCounter(com.aspose.html.internal.ms.System.IO.Stream stream)
    • Method Detail

      • getWrappedStream

        public com.aspose.html.internal.ms.System.IO.Stream getWrappedStream()
      • canRead

        public boolean canRead()
        Specified by:
        canRead in class com.aspose.html.internal.ms.System.IO.Stream
      • canSeek

        public boolean canSeek()
        Specified by:
        canSeek in class com.aspose.html.internal.ms.System.IO.Stream
      • canWrite

        public boolean canWrite()
        Specified by:
        canWrite in class com.aspose.html.internal.ms.System.IO.Stream
      • getLength

        public long getLength()
        Specified by:
        getLength in class com.aspose.html.internal.ms.System.IO.Stream
      • setLength

        public void setLength(long value)
        Specified by:
        setLength in class com.aspose.html.internal.ms.System.IO.Stream
      • getCalculatedLength

        public long getCalculatedLength()
      • getPosition

        public long getPosition()
        Specified by:
        getPosition in class com.aspose.html.internal.ms.System.IO.Stream
      • setPosition

        public void setPosition(long value)
        Specified by:
        setPosition in class com.aspose.html.internal.ms.System.IO.Stream
      • flush

        public void flush()
        Specified by:
        flush in class com.aspose.html.internal.ms.System.IO.Stream
      • read

        public int read(byte[] buffer,
                        int offset,
                        int count)
        Specified by:
        read in class com.aspose.html.internal.ms.System.IO.Stream
      • readByte

        public int readByte()
        Overrides:
        readByte in class com.aspose.html.internal.ms.System.IO.Stream
      • seek

        public long seek(long offset,
                         int loc)
        Specified by:
        seek in class com.aspose.html.internal.ms.System.IO.Stream
      • write

        public void write(byte[] buffer,
                          int offset,
                          int count)
        Specified by:
        write in class com.aspose.html.internal.ms.System.IO.Stream
      • writeByte

        public void writeByte(byte value)
        Overrides:
        writeByte in class com.aspose.html.internal.ms.System.IO.Stream