# File lib_doc/rucy/local.rb, line 426
    def new(local_path, default_content_type, *args)
      local_file = LocalFileDocument.new(local_path)
      if (default_content_type && ! default_content_type.strip.empty?) then
        local_file.type_resolver.set_default_content_type(default_content_type)
      end
      NARGS.times do
        suffix = args.shift
        content_type = args.shift
        if (suffix && ! suffix.strip.empty?) then
          if (content_type && ! content_type.strip.empty?) then
            local_file.type_resolver.set_content_type(suffix, content_type)
          end
        end
      end
      local_file
    end