Class XvfbConfig


  • public class XvfbConfig
    extends Object
    Configuration for Xvfb execution.
    • Field Detail

      • geometry

        public final String geometry
        Geometry of the screen. This value is specified in the -screen 0 <geometry> option. The syntax is WxHxD, where W and H are positive integer width and height values, respectively, and D is a depth value. Supported values for D include "8", "24", and "24+32". A fine choice for this field is 1280x1024x8 or 1280x1024x24+32.
    • Constructor Detail

      • XvfbConfig

        public XvfbConfig​(String geometry)
    • Method Detail

      • getDefault

        public static XvfbConfig getDefault()
        Default configuration instance. This differs from the 1280x1024x8 configuration that Xvfb uses by default, stated in the manual.