类 PredefInputSupplier

java.lang.Object
net.minecraftforge.gradle.PredefInputSupplier
所有已实现的接口:
Closeable, AutoCloseable, net.minecraftforge.srg2source.util.io.InputSupplier

public class PredefInputSupplier extends Object implements net.minecraftforge.srg2source.util.io.InputSupplier
  • 构造器详细资料

    • PredefInputSupplier

      public PredefInputSupplier()
  • 方法详细资料

    • close

      public void close() throws IOException
      指定者:
      close 在接口中 AutoCloseable
      指定者:
      close 在接口中 Closeable
      抛出:
      IOException
    • getRoot

      public String getRoot(String resource)
      指定者:
      getRoot 在接口中 net.minecraftforge.srg2source.util.io.InputSupplier
    • getInput

      public InputStream getInput(String relPath)
      指定者:
      getInput 在接口中 net.minecraftforge.srg2source.util.io.InputSupplier
    • gatherAll

      public List<String> gatherAll(String endFilter)
      指定者:
      gatherAll 在接口中 net.minecraftforge.srg2source.util.io.InputSupplier
    • addFile

      public void addFile(String path, File root, byte[] data) throws IOException
      抛出:
      IOException
    • isEmpty

      public boolean isEmpty()