Codota Logo
FilterReader.mark
Code IndexAdd Codota to your IDE (free)

How to use
mark
method
in
java.io.FilterReader

Best Java code snippets using java.io.FilterReader.mark (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.beanio/beanio

@Override
public void mark(int readAheadLimit) throws IOException {
  super.mark(readAheadLimit);
  mark = record == null ? -1 : record.length();
}
origin: com.googlecode.mycontainer/mycontainer-commons

@Override
public synchronized void mark(int readlimit) {
  try {
    super.mark(readlimit);
  } catch (IOException e) {
    throw new RuntimeException(e);
  }
}
origin: net.sf.jsignature.io-tools/easystream

/**
 * {@inheritDoc}
 * 
 * @throws IOException
 */
@Override
public synchronized void mark(final int readlimit) throws IOException {
  checkCloseInvoked("mark");
  super.mark(readlimit);
}
java.ioFilterReadermark

Javadoc

Sets a mark position in this reader. The parameter readlimitindicates how many bytes can be read before the mark is invalidated. Sending reset() will reposition this reader back to the marked position, provided that readlimit has not been surpassed.

This implementation sets a mark in the filtered reader.

Popular methods of FilterReader

  • read
    Reads characters into a portion of an array.
  • close
    Closes this reader. This implementation closes the filtered reader.
  • skip
    Skips characters.
  • ready
    Tells whether this stream is ready to be read.
  • reset
    Resets the stream.
  • <init>
    Creates a new filtered reader.
  • markSupported
    Tells whether this stream supports the mark() operation.

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now