org.apache.tools.ant.taskdefs.optional.extension.resolvers

Class LocationResolver

  • java.lang.Object
    • org.apache.tools.ant.taskdefs.optional.extension.resolvers.LocationResolver
  • All Implemented Interfaces:
    ExtensionResolver


    public class LocationResolver
    extends java.lang.Object
    implements ExtensionResolver
    Resolver that just returns s specified location.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LocationResolver() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.io.File resolve(Extension extension, Project project)
      Returns the resolved file
      void setLocation(java.lang.String location)
      Sets the location for this resolver
      java.lang.String toString()
      Returns a string representation of the Location
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocationResolver

        public LocationResolver()
    • Method Detail

      • setLocation

        public void setLocation(java.lang.String location)
        Sets the location for this resolver
        Parameters:
        location - the location
      • toString

        public java.lang.String toString()
        Returns a string representation of the Location
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string representation