Class UpdateSigner

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
games.stendhal.tools.updateprop.UpdateSigner
All Implemented Interfaces:
Cloneable

public class UpdateSigner extends org.apache.tools.ant.Task
creates signatures for the listed files
Author:
hendrik
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
    creates a UpdateSigner
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileset​(org.apache.tools.ant.types.FileSet set)
    Adds a set of files to copy.
    void
    ants execute method.
    static void
    main​(String[] args)
    signs files
    sign​(String fullFilename)
     

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UpdateSigner

      public UpdateSigner() throws Exception
      creates a UpdateSigner
      Throws:
      Exception
  • Method Details

    • sign

      public String sign(String fullFilename) throws IOException, SignatureException
      Throws:
      IOException
      SignatureException
    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet set)
      Adds a set of files to copy.
      Parameters:
      set - a set of files to copy
    • execute

      public void execute()
      ants execute method.
      Overrides:
      execute in class org.apache.tools.ant.Task
    • main

      public static void main(String[] args) throws Exception
      signs files
      Parameters:
      args - file1 file2 ...
      Throws:
      Exception - in case of an error