1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 package com.sun.star.filter.config.tools.split;
25 
26 //_______________________________________________
27 
28 import java.lang.*;
29 import java.io.*;
30 import com.sun.star.filter.config.tools.utils.*;
31 
32 //_______________________________________________
33 
34 /**
35  *  Data container for class Splitter.
36  *
37  *
38  */
39 public class SplitterData
40 {
41     /** can be used to generate some debug output. */
42     public Logger m_aDebug;
43 
44     /** contains all configuration structures, for which the xml
45         fragments should be generated. */
46     public Cache m_aCache;
47 
48     /** specify the output xml format. */
49     public int m_nFormat;
50 
51     /** specify the encoding for the output xml files. */
52     public java.lang.String m_sEncoding;
53 
54     /** directory to generate some generic views. */
55     public java.io.File m_aOutDir;
56 
57     /** directories to generate all xml fragments there.
58      *  Must be relative to "m_aOutDir"! */
59     public java.io.File m_aFragmentDirTypes;
60     public java.io.File m_aFragmentDirFilters;
61     public java.io.File m_aFragmentDirDetectServices;
62     public java.io.File m_aFragmentDirFrameLoaders;
63     public java.io.File m_aFragmentDirContentHandlers;
64 
65     /** enable/disable grouping of filters by its application modules. */
66     public boolean m_bSeperateFiltersByModule;
67 
68     /** directories to group all filter fragments ... if requested.
69      *  Must be relative to "m_aOutDir/m_aFragmentDirFilters" and
70      *  will be used only, if "m_bSeperateFiltersByModule" is set to true. */
71     public java.io.File m_aFragmentDirModuleSWriter;
72     public java.io.File m_aFragmentDirModuleSWeb;
73     public java.io.File m_aFragmentDirModuleSGlobal;
74     public java.io.File m_aFragmentDirModuleSCalc;
75     public java.io.File m_aFragmentDirModuleSDraw;
76     public java.io.File m_aFragmentDirModuleSImpress;
77     public java.io.File m_aFragmentDirModuleSMath;
78     public java.io.File m_aFragmentDirModuleSChart;
79     public java.io.File m_aFragmentDirModuleOthers;
80 
81     /** file extension for generated xml fragments. */
82     public java.lang.String m_sFragmentExtension;
83 }
84