-
ae.javax.imageio.stream.ImageInputStream.mark()
Marks a position in the stream to be returned to by a subsequent call to
reset
. Unlike a standard
InputStream
, all
ImageInputStream
s support marking. Additionally, calls to
mark
and
reset
may be nested arbitrarily.
Unlike the mark
methods declared by the Reader
and InputStream
interfaces, no readLimit
parameter is used. An arbitrary amount of data may be read following the call to mark
.
The bit position used by the readBits
method is saved and restored by each pair of calls to mark
and reset
.
Note that it is valid for an ImageReader
to call flushBefore
as part of a read operation. Therefore, if an application calls mark
prior to passing that stream to an ImageReader
, the application should not assume that the marked position will remain valid after the read operation has completed.
-
ca.eandb.jmist.framework.random.RepeatableRandom.mark()
-
clojure.asm.commons.GeneratorAdapter.mark()
Marks the current code position with the given label.
@param label a label.
-
com.amazonaws.services.s3.internal.InputSubstream.mark()
-
com.cloudera.util.Benchmark.mark()
-
com.codahale.metrics.Meter.mark()
Mark the occurrence of an event.
-
com.dci.intellij.dbn.language.common.element.parser.ParserBuilder.mark()
-
com.fasterxml.jackson.core.io.MergedStream.mark()
-
com.google.caja.lexer.TokenConsumer.mark()
Marks tokens {@link #consume consumed} before the next call as falling inthis range of file positions.
@param pos null indicates don't know.
-
com.google.code.yanf4j.buffer.IoBuffer.mark()
@see java.nio.Buffer#mark()
-
com.google.dexmaker.Code.mark()
Start defining instructions for the named label.
-
com.google.jstestdriver.token.BufferedTokenStream.mark()
-
com.intellij.lang.PsiBuilder.mark()
Creates a marker at the current parsing position.
@return the new marker instance.
-
com.jitlogic.zorka.common.util.TapInputStream.mark()
-
com.peterhi.obsolete.Data.mark()
-
com.peterhi.obsolete.Stream.mark()
-
com.peterhi.runtime.Buffer.mark()
Saves a mark at the current read cursor, subsequent read operations will run normally, once {@link #reset()} is called, the recorded mark will beused to substitute any read cursor position so the read cursor will be rolled back to the previously marked position. This method is useful for pre-reading and checking values. The caller may call {@link #mark()} firstand read as per normal, and if a desired value is found or an error is encountered, call the reset to roll back to keep the cursor intact.
@see #reset()
-
com.slytechs.utils.memory.channel.BufferedReadableByteChannel.mark()
-
com.sun.corba.se.impl.encoding.CDRInputObject.mark()
-
com.volantis.map.common.streams.SeekableInputStream.mark()
-
com.volantis.map.retriever.DefaultSeekableInputStream.mark()
-
com.yammer.metrics.core.MeterMetric.mark()
-
devplugin.Program.mark()
Marks the program for a Java plugin.
@param javaPlugin The plugin to mark the program for.
-
it.halfone.regex.Regex.mark()
@return
-
java.io.BufferedInputStream.mark()
See the general contract of the mark
method of InputStream
.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
@see java.io.BufferedInputStream#reset()
-
java.io.BufferedReader.mark()
Set a Mark position in this BufferedReader. The parameter readLimit
indicates how many characters can be read before a mark is invalidated. Sending reset() will reposition the reader back to the marked position provided readLimit
has not been surpassed.
@param readlimit an int representing how many characters must be read before invalidating the mark.
@throws IOException If an error occurs attempting mark this BufferedReader.
@throws IllegalArgumentException If readlimit is < 0
-
java.io.ByteArrayInputStream.mark()
Set a Mark position in this ByteArrayInputStream. The parameter readLimit
is ignored. Sending reset() will reposition the stream back to the marked position.
@param readlimit ignored.
-
java.io.DataInputStream.mark()
Marks the current position in this input stream. A subsequent call to the
reset
method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
The readlimit
argument tells this input stream to allow that many bytes to be read before the mark position gets invalidated.
This method simply performs in.mark(readlimit)
.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
-
java.io.FileInputStream.mark()
-
java.io.FilterInputStream.mark()
Marks the current position in this input stream. A subsequent call to the
reset
method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
The readlimit
argument tells this input stream to allow that many bytes to be read before the mark position gets invalidated.
This method simply performs in.mark(readlimit)
.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
@see java.io.FilterInputStream#in
@see java.io.FilterInputStream#reset()
-
java.io.InputStream.mark()
Set a Mark position in this InputStream. The parameter
readLimit
indicates how many bytes can be read before a mark is invalidated. Sending reset() will reposition the Stream back to the marked position provided
readLimit
has not been surpassed.
This default implementation does nothing and concrete subclasses must provide their own implementations.
@param readlimit the number of bytes to be able to read before invalidating the mark.
-
java.io.PushbackInputStream.mark()
Marks the current position in this input stream.
The mark
method of PushbackInputStream
does nothing.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
@see java.io.InputStream#reset()
-
java.io.Reader.mark()
Set a Mark position in this Reader. The parameter
readLimit
indicates how many characters can be read before a mark is invalidated. Sending reset() will reposition the reader back to the marked position provided
readLimit
has not been surpassed.
This default implementation simply throws IOException and concrete subclasses must provide their own implementations.
@param readLimit an int representing how many characters must be read before invalidating the mark.
@throws IOException If an error occurs attempting mark this Reader.
-
java.io.StringReader.mark()
Marks the present position in the stream. Subsequent calls to reset() will reposition the stream to this point.
@param readAheadLimit Limit on the number of characters that may beread while still preserving the mark. Because the stream's input comes from a string, there is no actual limit, so this argument must not be negative, but is otherwise ignored.
@exception IllegalArgumentException If readAheadLimit is < 0
@exception IOException If an I/O error occurs
-
java.nio.Buffer.mark()
Mark the current position, so that the position may return to this point later by calling reset()
.
@return This buffer
-
java.nio.ByteBuffer.mark()
-
java.nio.CharBuffer.mark()
-
java.nio.IntBuffer.mark()
-
java.nio.LongBuffer.mark()
-
java.util.zip.DeflaterInputStream.mark()
This operation is not supported.
@param limit maximum bytes that can be read before invalidating the position marker
-
java.util.zip.InflaterInputStream.mark()
Marks the current position in this input stream.
The mark
method of InflaterInputStream
does nothing.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
@see java.io.InputStream#reset()
-
javax.imageio.stream.FileImageInputStream.mark()
-
javax.imageio.stream.ImageInputStream.mark()
Marks a position in the stream to be returned to by a subsequent call to
reset
. Unlike a standard
InputStream
, all
ImageInputStream
s support marking. Additionally, calls to
mark
and
reset
may be nested arbitrarily.
Unlike the mark
methods declared by the Reader
and InputStream
interfaces, no readLimit
parameter is used. An arbitrary amount of data may be read following the call to mark
.
The bit position used by the readBits
method is saved and restored by each pair of calls to mark
and reset
.
Note that it is valid for an ImageReader
to call flushBefore
as part of a read operation. Therefore, if an application calls mark
prior to passing that stream to an ImageReader
, the application should not assume that the marked position will remain valid after the read operation has completed.
-
javax.imageio.stream.ImageOutputStream.mark()
-
javax.imageio.stream.MemoryCacheImageInputStream.mark()
-
javax.servlet.ServletInputStream.mark()
-
javax.sound.sampled.AudioInputStream.mark()
Marks the current position in this audio input stream.
@param readlimit the maximum number of bytes that can be read beforethe mark position becomes invalid.
@see #reset
@see #markSupported
-
net.charabia.util.io.BinaryInputStream.mark()
-
net.rubyeye.xmemcached.buffer.IoBuffer.mark()
-
net.sf.cglib.core.CodeEmitter.mark()
-
org.antlr.v4.runtime.CharStream.mark()
mark/release do nothing; we have entire buffer
-
org.apache.aries.util.io.RememberingInputStream.mark()
-
org.apache.cassandra.io.util.FileDataInput.mark()
-
org.apache.cassandra.io.util.SequentialWriter.mark()
-
org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream.mark()
{@inheritDoc}
-
org.apache.flume.serialization.EventDeserializer.mark()
Marks the underlying input stream, indicating that the events previously returned by this EventDeserializer have been successfully committed.
@throws IOException
@see #reset()
-
org.apache.fop.util.UnclosableInputStream.mark()
-
org.apache.hadoop.fs.FSDataInputStream.mark()
-
org.apache.hadoop.hdfs.util.ExactSizeInputStream.mark()
-
org.apache.hadoop.hive.ql.udf.xml.UDFXPathUtil.ReusableStringReader.mark()
-
org.apache.jackrabbit.api.management.DataStoreGarbageCollector.mark()
Scan the repository. The garbage collector will iterate over all nodes in the repository and update the last modified date. If all persistence managers implement the IterablePersistenceManager interface, this mechanism is used; if not, the garbage collector scans the repository using the JCR API starting from the root node.
@throws RepositoryException
-
org.apache.jackrabbit.core.gc.GarbageCollector.mark()
-
org.apache.lucene.analysis.CharFilter.mark()
-
org.apache.lucene.analysis.CharStream.mark()
-
org.apache.lucene.util.UnsafeByteArrayInputStream.mark()
-
org.apache.mina.common.ByteBuffer.mark()
@see java.nio.Buffer#mark()
-
org.apache.mina.common.IoBuffer.mark()
@see java.nio.Buffer#mark()
-
org.apache.mina.core.buffer.IoBuffer.mark()
@see java.nio.Buffer#mark()
-
org.apache.tika.io.TikaInputStream.mark()
-
org.archive.wayback.core.Resource.mark()
-
org.auraframework.util.LimitedLengthInputStream.mark()
-
org.emftrace.quarc.ui.zest.nodes.GSSElementGraphNode.mark()
marks the node
-
org.exist.util.io.CachingFilterInputStream.mark()
-
org.fakereplace.util.JumpMarker.mark()
Changes the jump instructions target to the next bytecode to be added to the {@link Bytecode}
-
org.geotools.styling.StyleFactory.mark()
@param wellKnownName
@param fill
@param stroke
@return
-
org.htmlparser.lexer.Source.mark()
Mark the present position. Subsequent calls to {@link #reset}will attempt to reposition the source to this point. Not all sources support the mark() operation.
@param readAheadLimit The minimum number of characters that can be readbefore this mark becomes invalid.
@exception IOException If an I/O error occurs.
-
org.htmlparser.lexer.Stream.mark()
Marks the current position in this input stream. A subsequent call to the
reset
method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
The readlimit
arguments tells this input stream to allow that many bytes to be read before the mark position gets invalidated.
The general contract of mark
is that, if the method markSupported
returns true
, the stream somehow remembers all the bytes read after the call to mark
and stands ready to supply those same bytes again if and whenever the method reset
is called. However, the stream is not required to remember any data at all if more than readlimit
bytes are read from the stream before reset
is called.
@param readlimit Not used.
@see java.io.InputStream#reset()
-
org.jasig.portal.xml.stream.BufferedXMLEventReader.mark()
Start buffering events
@param eventLimit the maximum number of events to buffer. -1 will buffer all events, 0 will buffer no events.
-
org.jboss.classfilewriter.code.CodeAttribute.mark()
Gets the location object for the current location in the bytecode. Jumps to this location will begin executing the next instruction that is written to the bytecode stream
-
org.jets3t.service.io.SegmentedRepeatableFileInputStream.mark()
-
org.jredis.bench.Util.Timer.mark()
-
org.jruby.embed.io.ReaderInputStream.mark()
Marks the current position in this input stream. A subsequent call to the
reset
method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
The readlimit
arguments tells this input stream to allow that many bytes to be read before the mark position gets invalidated.
The general contract of mark
is that, if the method markSupported
returns true
, the stream somehow remembers all the bytes read after the call to mark
and stands ready to supply those same bytes again if and whenever the method reset
is called. However, the stream is not required to remember any data at all if more than readlimit
bytes are read from the stream before reset
is called.
Marking a closed stream should not have any effect on the stream.
The mark
method of InputStream
does nothing.
@param readlimit the maximum limit of bytes that can be read beforethe mark position becomes invalid.
@see java.io.InputStream#reset()
-
org.milyn.edisax.BufferedSegmentReader.mark()
Try mark the stream so we can support changing of the reader encoding.
@see #changeEncoding(Charset)
-
org.mortbay.io.nio.IndirectNIOBuffer.mark()
-
org.mortbay.io.nio.NIOBuffer.mark()
-
org.nutz.mvc.upload.util.BufferRing.mark()
-
org.objectweb.asm.commons.GeneratorAdapter.mark()
Marks the current code position with the given label.
@param label a label.
-
org.omg.CORBA.portable.InputStream.mark()
-
org.persvr.util.BufferedDataInput.mark()
-
org.qi4j.api.metrics.MetricsMeter.mark()
-
org.teiid.query.processor.BatchIterator.mark()
-
slash.common.io.NotClosingUnderlyingInputStream.mark()