1 |
package dk.daoas.adressevedligehold; |
package dk.daoas.adressevedligehold.coveragefileupload; |
2 |
|
|
3 |
import java.io.IOException; |
import java.io.IOException; |
4 |
|
|
5 |
import org.apache.commons.fileupload.FileItem; |
import org.apache.commons.fileupload.FileItem; |
6 |
|
|
7 |
import dk.daoas.adressevedligehold.AddressSourceEntry.EntryType; |
import dk.daoas.adressevedligehold.coveragefileupload.AddressSourceEntry.EntryType; |
8 |
|
|
9 |
public class AddressSourceDAO extends AbstractAddressSource { |
public class AddressSourceDAO extends AbstractAddressSource { |
10 |
|
|
22 |
} |
} |
23 |
|
|
24 |
|
|
|
//TODO: Skal csv parsning klares med Apache Commons CSV ? |
|
25 |
|
|
26 |
@Override |
@Override |
27 |
public AddressSourceEntry getNextEntry() throws IOException { |
public AddressSourceEntry getNextEntry() throws IOException { |
83 |
public String getDistributor() { |
public String getDistributor() { |
84 |
return DAO; |
return DAO; |
85 |
} |
} |
86 |
|
|
87 |
|
@Override |
88 |
|
public boolean calculateDistances() { |
89 |
|
return true; //DAO skal beregne afstande |
90 |
|
} |
91 |
|
|
92 |
} |
} |