Class BookmarkList.Builder<B extends BookmarkList.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
BookmarkList

public static class BookmarkList.Builder<B extends BookmarkList.Builder<B>> extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public BookmarkList build()
      Finish building the BookmarkList object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to BookmarkList.
      Overrides:
      build in class GObject.Builder<B extends BookmarkList.Builder<B>>
      Returns:
      a new instance of BookmarkList with the properties that were set in the Builder object.
    • setAttributes

      public B setAttributes(String attributes)
      The attributes to query.
      Parameters:
      attributes - the value for the attributes property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setFilename

      public B setFilename(String filename)
      The bookmark file to load.
      Parameters:
      filename - the value for the filename property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setIoPriority

      public B setIoPriority(int ioPriority)
      Priority used when loading.
      Parameters:
      ioPriority - the value for the io-priority property
      Returns:
      the Builder instance is returned, to allow method chaining