2 |
2 |
|
3 |
3 |
import java.io.ByteArrayOutputStream;
|
4 |
4 |
import java.io.File;
|
5 |
|
import java.io.IOException;
|
6 |
5 |
import java.io.InputStream;
|
7 |
6 |
import java.net.URL;
|
8 |
7 |
import java.net.URLClassLoader;
|
... | ... | |
11 |
10 |
import java.util.HashMap;
|
12 |
11 |
import java.util.HashSet;
|
13 |
12 |
import java.util.List;
|
|
13 |
import java.util.Locale;
|
14 |
14 |
import java.util.Map;
|
15 |
15 |
import java.util.Set;
|
16 |
16 |
import java.util.UUID;
|
17 |
17 |
import java.util.function.Predicate;
|
18 |
|
import java.util.logging.Level;
|
19 |
18 |
import javax.json.JsonArray;
|
20 |
19 |
import javax.json.JsonObject;
|
21 |
20 |
import javax.json.JsonValue;
|
22 |
|
import org.apache.commons.codec.digest.DigestUtils;
|
23 |
21 |
import org.apache.commons.io.FileUtils;
|
24 |
22 |
import org.apache.commons.io.IOUtils;
|
25 |
23 |
import org.apache.commons.lang3.StringUtils;
|
... | ... | |
51 |
49 |
import org.gvsig.fmap.dal.StoresRepository;
|
52 |
50 |
import org.gvsig.fmap.dal.exception.CreateFileStoreException;
|
53 |
51 |
import org.gvsig.fmap.dal.exception.DataException;
|
54 |
|
import org.gvsig.fmap.dal.exception.DataRuntimeException;
|
55 |
52 |
import org.gvsig.fmap.dal.exception.InitializeException;
|
56 |
53 |
import org.gvsig.fmap.dal.exception.OpenException;
|
57 |
54 |
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
|
... | ... | |
60 |
57 |
import org.gvsig.fmap.dal.expressionevaluator.FeatureAttributeEmulatorExpression;
|
61 |
58 |
import org.gvsig.fmap.dal.expressionevaluator.FeatureSymbolTable;
|
62 |
59 |
import org.gvsig.fmap.dal.feature.DataProfile;
|
|
60 |
import org.gvsig.fmap.dal.feature.DataTypeDetector;
|
63 |
61 |
import org.gvsig.fmap.dal.feature.EditableFeature;
|
64 |
62 |
import org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor;
|
65 |
63 |
import org.gvsig.fmap.dal.feature.EditableFeatureType;
|
... | ... | |
72 |
70 |
import org.gvsig.fmap.dal.feature.LabelsCacheForFieldValues;
|
73 |
71 |
import org.gvsig.fmap.dal.feature.exception.UnsupportedDataTypeException;
|
74 |
72 |
import org.gvsig.fmap.dal.feature.impl.DALFile;
|
|
73 |
import org.gvsig.fmap.dal.feature.impl.DataTypeDetectorImpl;
|
75 |
74 |
import org.gvsig.fmap.dal.feature.impl.DefaultEditableFeatureAttributeDescriptor;
|
76 |
75 |
import org.gvsig.fmap.dal.feature.impl.DefaultEditableFeatureType;
|
77 |
76 |
import org.gvsig.fmap.dal.feature.impl.DefaultFeatureIndex;
|
... | ... | |
1547 |
1546 |
}
|
1548 |
1547 |
}
|
1549 |
1548 |
|
|
1549 |
@Override
|
1550 |
1550 |
public byte[] getDALBytesFromFeatureType(FeatureType ftype) {
|
1551 |
1551 |
try {
|
1552 |
1552 |
DALFile dalfile = DALFile.getDALFile();
|
... | ... | |
1586 |
1586 |
return this.propertiesSupportHelper.getProperties();
|
1587 |
1587 |
}
|
1588 |
1588 |
|
|
1589 |
public DataTypeDetector createDataTypeDetector(Locale locale) {
|
|
1590 |
DataTypeDetector x = new DataTypeDetectorImpl(locale);
|
|
1591 |
return x;
|
|
1592 |
}
|
1589 |
1593 |
}
|