question: private boolean isIPTResourceFolder ( File dir ) { if ( dir . exists ( ) && dir . isDirectory ( ) ) { File persistenceFile = new File ( dir , PERSISTENCE_FILE ) ; File emlFile = new File ( dir , DataDir . EML_XML_FILENAME ) ; return persistenceFile . isFile ( ) && emlFile . isFile ( ) ; } return false ; }
target:  Determine whether the directory represents an IPT Resource directory or not. To qualify, directory must contain at least a resource.xml and eml.xml file.