Code example for File

Methods: getAbsoluteFile

0
    { 
        if ( pomFile == null )
        { 
            throw new IllegalArgumentException( "no POM file specified" );
        } 
        this.pomFile = pomFile.getAbsoluteFile();
    } 
 
    public InputStream getInputStream()
        throws IOException 
    { 
        return new FileInputStream( pomFile );
    } 
 
    public String getLocation()
    { 
        return pomFile.getPath();
    } 
 
    /** 
Contextual code suggestions in your IDE  Get Codota for Java