org.apache.maven.shared.io.location
Interface Location

All Known Implementing Classes:
ArtifactLocation, FileLocation, URLLocation

public interface Location


Method Summary
 void close()
           
 File getFile()
           
 InputStream getInputStream()
           
 String getSpecification()
           
 void open()
           
 int read(byte[] buffer)
           
 int read(ByteBuffer buffer)
           
 

Method Detail

getFile

File getFile()
             throws IOException
Throws:
IOException

open

void open()
          throws IOException
Throws:
IOException

close

void close()

read

int read(ByteBuffer buffer)
         throws IOException
Throws:
IOException

read

int read(byte[] buffer)
         throws IOException
Throws:
IOException

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getSpecification

String getSpecification()


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.