title: Asterix symbol parsing while using ant libraries
body: <p>I need to zip files using ant libraries. I couldn't find any examples of using ant not with build scripts but with libraries.</p>
  
  <p>I saw classes from org.apache.tools.zip package but I cant find code that will help me to use asterix symbol while setting files to zip.</p>
  
  <p>So how can I zip files that match some pattern using ant libraries?</p>
  
  <p>Here is an example of scenario: application recieves an string like "/ziptest/*example.txt" so my application has to zip all files which name ends with "example" and extension is txt from ziptest directory.</p>
  
  <p>The point is I need to do it with java code. I wanted to use Ant libraries for this task.</p>