1 7 package fr.jayasoft.ivy.repository; 8 9 import java.io.File ; 10 import java.io.IOException ; 11 import java.util.List ; 12 13 import fr.jayasoft.ivy.Artifact; 14 15 42 public interface Repository { 43 44 56 Resource getResource(String source) throws IOException ; 57 58 65 void get(String source, File destination) throws IOException ; 66 67 68 77 void put(Artifact artifact, File source, String destination, boolean overwrite) throws IOException ; 78 79 86 List list(String parent) throws IOException ; 87 88 93 void addTransferListener(TransferListener listener); 94 95 100 void removeTransferListener(TransferListener listener); 101 102 109 boolean hasTransferListener(TransferListener listener); 110 111 116 String getFileSeparator(); 117 118 124 String standardize(String source); 125 126 130 String getName(); 131 } 132 | Popular Tags |