private List < String > preparePrefixes ( ) { // Prepare prefixes for all schemas List < String > prefixes = new ArrayList < String > ( Schema . values ( ) . length + ( local ? 3 : 0 ) ) ; for ( Schema schema : Schema . values ( ) ) { prefixes . add ( schema . getPrefix ( ) ) ; } // For local URls prefixes are "./", "../", "/" if ( local ) { Collections . addAll ( prefixes , LOCAL_PREFIXES ) ; } return prefixes ; }
Prepare URL s prefixes .