private void parseDomains ( ) throws IOException { domainsFileLock . writeLock ( ) . lock ( ) ; logger . trace ( "LOCK writelock" ) ; try { EcodParser parser = new EcodParser ( getDomainFile ( ) ) ; allDomains = parser . getDomains ( ) ; parsedVersion = parser . getVersion ( ) ; } finally { logger . trace ( "UNLOCK writelock" ) ; domainsFileLock . writeLock ( ) . unlock ( ) ; } }
Parses the domains from the local file