public static synchronized void setResourcesDirectory ( String directory ) { if ( directory == null ) { resourcesDir = Constant . EMPTY_STRING + getSeparator ( ) ; } else { resourcesDir = directory + getSeparator ( ) ; } loader = Optional . empty ( ) ; }
Define resources directory . Root for all medias . Disable the load from JAR .