langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/StandardDocFileFactory.java
changeset 45417 f7479ee8de69
parent 40587 1c355ea550ed
child 46080 65ccd412049b
equal deleted inserted replaced
45416:0d8bb33bdfa7 45417:f7479ee8de69
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    51 import javax.tools.JavaFileObject;
    51 import javax.tools.JavaFileObject;
    52 import javax.tools.StandardJavaFileManager;
    52 import javax.tools.StandardJavaFileManager;
    53 import javax.tools.StandardLocation;
    53 import javax.tools.StandardLocation;
    54 
    54 
    55 import com.sun.tools.javac.util.Assert;
    55 import com.sun.tools.javac.util.Assert;
    56 import jdk.javadoc.internal.doclets.toolkit.Configuration;
    56 import jdk.javadoc.internal.doclets.toolkit.BaseConfiguration;
    57 
    57 
    58 /**
    58 /**
    59  * Implementation of DocFileFactory using a {@link StandardJavaFileManager}.
    59  * Implementation of DocFileFactory using a {@link StandardJavaFileManager}.
    60  *
    60  *
    61  *  <p><b>This is NOT part of any supported API.
    61  *  <p><b>This is NOT part of any supported API.
    66  */
    66  */
    67 class StandardDocFileFactory extends DocFileFactory {
    67 class StandardDocFileFactory extends DocFileFactory {
    68     private final StandardJavaFileManager fileManager;
    68     private final StandardJavaFileManager fileManager;
    69     private Path destDir;
    69     private Path destDir;
    70 
    70 
    71     public StandardDocFileFactory(Configuration configuration) {
    71     public StandardDocFileFactory(BaseConfiguration configuration) {
    72         super(configuration);
    72         super(configuration);
    73         fileManager = (StandardJavaFileManager) configuration.getFileManager();
    73         fileManager = (StandardJavaFileManager) configuration.getFileManager();
    74     }
    74     }
    75 
    75 
    76     @Override
    76     @Override