1 package org.jellyfish.provider;
2
3 import java.io.File;
4 import java.io.FileNotFoundException;
5 import java.io.IOException;
6 import java.util.Map;
7
8 public class EntryFileHandlerMock implements EntryFileHandler {
9
10 public boolean loadPropertiesCalled;
11 public String loadPropertiesFile;
12 public Map loadPropertiesReturn;
13 public Map loadProperties(String file) {
14 loadPropertiesCalled = true;
15 loadPropertiesFile = file;
16 return loadPropertiesReturn;
17 }
18
19 public boolean modifyPropertiesCalled;
20 public String modifyPropertiesFile;
21 public Map modifyPropertiesProperties;
22 public void modifyProperties(String file, Map properties) {
23 modifyPropertiesCalled = true;
24 modifyPropertiesFile = file;
25 modifyPropertiesProperties = properties;
26 }
27
28 public boolean deletePropertiesCalled;
29 public String deletePropertiesFile;
30 public void deleteProperties(String file) {
31 deletePropertiesCalled = true;
32 deletePropertiesFile = file;
33 }
34
35 public Map loadProperties(File file) throws FileNotFoundException, IOException {
36 throw new UnsupportedOperationException("Implement Me!");
37 }
38
39 }
This page was automatically generated by Maven