All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yworks.util.abstractjar.StreamProvider Maven / Gradle / Ivy

Go to download

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

The newest version!
package com.yworks.util.abstractjar;

import java.io.DataInputStream;
import java.io.IOException;

/**
 * The interface Stream provider.
 *
 * @author Michael Schroeder, yWorks GmbH http://www.yworks.com
 */
public interface StreamProvider {

  /**
   * Gets next class entry stream.
   *
   * @return the next class entry stream
   * @throws IOException the io exception
   */
  DataInputStream getNextClassEntryStream() throws IOException;

  /**
   * Gets next resource entry stream.
   *
   * @return the next resource entry stream
   * @throws IOException the io exception
   */
  DataInputStream getNextResourceEntryStream() throws IOException;

  /**
   * Gets current entry.
   *
   * @return the current entry
   */
  Entry getCurrentEntry();

  /**
   * Gets current entry name.
   *
   * @return the current entry name
   */
  String getCurrentEntryName();

  /**
   * Gets current dir.
   *
   * @return the current dir
   */
  String getCurrentDir();

  /**
   * Gets current filename.
   *
   * @return the current filename
   */
  String getCurrentFilename();

  /**
   * Resets the stream provider.
   */
  void reset();

  /**
   * Closes the stream provider.
   */
  void close() throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy