1 |
|
package com.sun.syndication.io; |
2 |
|
|
3 |
|
|
4 |
|
import java.io.InputStream; |
5 |
|
import java.io.IOException; |
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
@author |
17 |
|
@version |
18 |
|
|
19 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 8 |
Complexity Density: 0,57 |
|
20 |
|
public class XmlReaderException extends IOException { |
21 |
|
private String _bomEncoding; |
22 |
|
private String _xmlGuessEncoding; |
23 |
|
private String _xmlEncoding; |
24 |
|
private String _contentTypeMime; |
25 |
|
private String _contentTypeEncoding; |
26 |
|
private InputStream _is; |
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
@param |
35 |
|
@param |
36 |
|
@param |
37 |
|
@param |
38 |
|
@param |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public XmlReaderException(String msg,String bomEnc,String xmlGuessEnc,String xmlEnc,InputStream is) {... |
41 |
0
|
this(msg,null,null,bomEnc,xmlGuessEnc,xmlEnc,is); |
42 |
|
} |
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
@param |
51 |
|
@param |
52 |
|
@param |
53 |
|
@param |
54 |
|
@param |
55 |
|
@param |
56 |
|
@param |
57 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 1 |
Complexity Density: 0,14 |
|
58 |
0
|
public XmlReaderException(String msg,String ctMime,String ctEnc,... |
59 |
|
String bomEnc,String xmlGuessEnc,String xmlEnc,InputStream is) { |
60 |
0
|
super(msg); |
61 |
0
|
_contentTypeMime = ctMime; |
62 |
0
|
_contentTypeEncoding = ctEnc; |
63 |
0
|
_bomEncoding = bomEnc; |
64 |
0
|
_xmlGuessEncoding = xmlGuessEnc; |
65 |
0
|
_xmlEncoding = xmlEnc; |
66 |
0
|
_is = is; |
67 |
|
} |
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
@return |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0
|
public String getBomEncoding() {... |
76 |
0
|
return _bomEncoding; |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
@return |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0
|
public String getXmlGuessEncoding() {... |
86 |
0
|
return _xmlGuessEncoding; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
@return |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
0
|
public String getXmlEncoding() {... |
96 |
0
|
return _xmlEncoding; |
97 |
|
} |
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
@return |
104 |
|
|
105 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
0
|
public String getContentTypeMime() {... |
107 |
0
|
return _contentTypeMime; |
108 |
|
} |
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
@return |
115 |
|
|
116 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
117 |
0
|
public String getContentTypeEncoding() {... |
118 |
0
|
return _contentTypeEncoding; |
119 |
|
} |
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
@return |
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0
|
public InputStream getInputStream() {... |
129 |
0
|
return _is; |
130 |
|
} |
131 |
|
} |