Package org.geotools.data.mongodb
Class MongoUtil
- Object
- 
- MongoUtil
 
- 
 public class MongoUtil extends Object - Author:
- tkunicki@boundlessgeo.com
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMongoUtil.SchemaFolderFinder
 - 
Constructor SummaryConstructors Constructor Description MongoUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringextractFilesNameFromUrl(String url)static FileextractZipFile(File destDir, File zipFile)static Set<String>findIndexedFields(DBCollection dbc)static Set<String>findIndexedFields(DBCollection dbc, String type)static Set<String>findIndexedFields(List<DBObject> indices, String type)static Set<String>findIndexedGeometries(DBCollection dbc)static Map<String,Class<?>>findMappableFields(DBCollection dbc)static Map<String,Class<?>>findMappableFields(DBObject dbo)static ObjectgetDBOValue(DBObject dbo, String path)static ObjectgetDBOValue(DBObject dbo, Iterator<String> path)static booleanisZipFile(File file)static booleanisZipFile(String uri)static Class<?>mapBSONObjectToJavaType(Object o)static voidsetDBOValue(DBObject dbo, String path, Object value)static voidsetDBOValue(DBObject dbo, Iterator<String> path, Object value)
 
- 
- 
- 
Method Detail- 
extractFilesNameFromUrlpublic static String extractFilesNameFromUrl(String url) throws MalformedURLException - Throws:
- MalformedURLException
 
 - 
isZipFilepublic static boolean isZipFile(File file) throws IOException - Throws:
- IOException
 
 - 
isZipFilepublic static boolean isZipFile(String uri) throws IOException, URISyntaxException - Throws:
- IOException
- URISyntaxException
 
 - 
extractZipFilepublic static File extractZipFile(File destDir, File zipFile) throws ZipException, IOException - Throws:
- ZipException
- IOException
 
 
- 
 
-