Class ResolvConfParser


  • public class ResolvConfParser
    extends java.lang.Object
    Does a partial parse according to https://linux.die.net/man/5/resolver.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static scala.util.Try<ResolvConf> parseFile​(java.io.File file)
      Does a partial parse according to https://linux.die.net/man/5/resolver.
      static ResolvConf parseLines​(scala.collection.Iterator<java.lang.String> lines)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResolvConfParser

        public ResolvConfParser()
    • Method Detail

      • parseFile

        public static scala.util.Try<ResolvConf> parseFile​(java.io.File file)
        Does a partial parse according to https://linux.die.net/man/5/resolver.
        Parameters:
        file - (undocumented)
        Returns:
        (undocumented)
      • parseLines

        public static ResolvConf parseLines​(scala.collection.Iterator<java.lang.String> lines)