if(!fullPath.endsWith( "/" ))
fullPath = fullPath + "/"; }  tmpFileName = tmpFileName.replace( '\\', '/' ); if ( tmpFileName.startsWith(  "/"  )) { tmpFileName = tmpFileName.substring( 1 ); }  fullPath = fullPath + tmpFileName;  File file = new File(fullPath); if((file.exists( ) && file.isFile( ))) { return fullPath; }else { file = new File(fileName); if((file.exists( ) && file.isFile( )))
		private String getFullPath(String root, String fileName)		{			Assert.isLegal( root != null );			Assert.isLegal( fileName != null);			String fullPath = new String(root);			if(fullPath.indexOf( "\\" ) < 0 )			{				if(!fullPath.endsWith( "/" ))				{					fullPath = fullPath + "/";				}							}else // > 0			{				if(!fullPath.endsWith( "\\" ))				{					fullPath = fullPath + "\\";				}			}						fullPath = fullPath + fileName;			fullPath = fullPath.replaceAll( "\\\\", "\\" );			fullPath = fullPath.replaceAll( "//", "/" );			return fullPath;		}