class ShapeFileEPSGHelper {

    public static String getDeclaredEPSGFromPrj(final File prjFile) throws IOException, FactoryException {
        String result = null;
        if (prjFile == null || !prjFile.exists()) {
            return result;
        }
        log.debug(new StringBuilder("Attempting to get EPSG from file: ").append(prjFile.getPath()).toString());

        byte[] wktByteArray = FileHelper.getByteArrayFromFile(prjFile);
        result = ShapeFileEPSGHelper.getDeclaredEPSGFromWKT(new String(wktByteArray));
        return result;
    }

}