Class AbstractFileInstantiator

  • All Implemented Interfaces:
    IVilType
    Direct Known Subclasses:
    Ant, AspectJ, Javac, Make, Maven

    public abstract class AbstractFileInstantiator
    extends java.lang.Object
    implements IVilType
    An abstract file instantiator providing helpful functionality..
    Author:
    Holger Eichelberger
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.io.File determineTargetPath​(Path target)
      Determines the target path from a VIL path and ensures its existence.
      protected static java.lang.String toString​(java.lang.Object object)
      Turns an object into a string as parameter to the command line compiler.
      • Methods inherited from class java.lang.Object

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

      • AbstractFileInstantiator

        public AbstractFileInstantiator()
    • Method Detail

      • toString

        protected static java.lang.String toString​(java.lang.Object object)
        Turns an object into a string as parameter to the command line compiler.
        Parameters:
        object - the object to be turned into a string
        Returns:
        the string representing the object
      • determineTargetPath

        protected static java.io.File determineTargetPath​(Path target)
        Determines the target path from a VIL path and ensures its existence.
        Parameters:
        target - the VIL target path
        Returns:
        the target path as a string or null if none shall be set