protected void externalize(String resourcePath) throws IOException
{try { __CLOVER_36_0.M[237]++;
__CLOVER_36_0.S[867]++;String[] path;
__CLOVER_36_0.S[868]++;int i;
__CLOVER_36_0.S[869]++;File file;
__CLOVER_36_0.S[870]++;StringSplitter splitter;
__CLOVER_36_0.S[871]++;InputStream in;
__CLOVER_36_0.S[872]++;OutputStream out;
__CLOVER_36_0.S[873]++;int bytesRead;
__CLOVER_36_0.S[874]++;URL inputURL;
__CLOVER_36_0.S[875]++;byte[] buffer;
__CLOVER_36_0.S[876]++;if ((((LOG.isDebugEnabled()) && (++__CLOVER_36_0.CT[176] != 0)) || (++__CLOVER_36_0.CF[176] == 0))){
__CLOVER_36_0.S[877]++;LOG.debug("Externalizing " + resourcePath);}
__CLOVER_36_0.S[878]++;file = _assetDir;
// Resources are always split by the unix seperator, even on Win32.
__CLOVER_36_0.S[879]++;splitter = new StringSplitter('/');
__CLOVER_36_0.S[880]++;path = splitter.splitToArray(resourcePath);
// The path is expected to start with a leading slash, but the StringSplitter
// will ignore that leading slash.
__CLOVER_36_0.S[881]++;for (i = 0; (((i < path.length - 1) && (++__CLOVER_36_0.CT[177] != 0)) || (++__CLOVER_36_0.CF[177] == 0)); i++){