Class Resource

    • Field Detail

      • url

        public final URL url
    • Constructor Detail

      • Resource

        public Resource​(URL url)
    • Method Detail

      • getName

        public String getName()
        Gets just the file name portion without any paths, like "foo.txt"
      • asReader

        public Reader asReader()
      • asText

        public String asText()
      • asFile

        public File asFile()