return new S3Resource(s3,storage.toInt(),this,path,true);
}
public static String loadWithNewPattern(S3 s3,RefInteger storage, String path) {
PageContext pc = ThreadLocalPageContext.get();
Properties prop=null;
if(pc!=null){
prop=pc.getApplicationContext().getS3();
}
if(prop==null) prop=new PropertiesImpl();
int defaultLocation = prop.getDefaultLocation();
storage.setValue(defaultLocation);