public static Optional < List < String > > getStringListAsOptWithClasspath ( String classpathOrFilePath ) { return getResourceInputStreamAsOpt ( classpathOrFilePath ) . map ( JMInputStream :: readLines ) ; }
Gets string list as opt with classpath .