protected String getChildName ( String child , String parent ) throws IOException { if ( child . startsWith ( parent ) ) { return child . substring ( parent . length ( ) ) ; } throw new IOException ( ExceptionMessage . INVALID_PREFIX . getMessage ( parent , child ) ) ; }
Gets the child name based on the parent name .