All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.modules.java.base.classes.sun.net.www.MimeTable.class Maven / Gradle / Ivy

There is a newer version: 2024-05-10
Show newest version
????:?sun/net/www/MimeTable
java/lang/Object()V
java/util/Hashtable
		
entriesLjava/util/Hashtable;	extensionMap
load	+sun/net/www/MimeTable$DefaultInstanceHolderdefaultInstanceLsun/net/www/MimeTable;
getDefaultTable()Lsun/net/www/MimeTable;
	!"#size()I
%&'findByFileName+(Ljava/lang/String;)Lsun/net/www/MimeEntry;
)*+,-sun/net/www/MimeEntrygetType()Ljava/lang/String;
	/01put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
)345
getExtensions()[Ljava/lang/String;
	789get&(Ljava/lang/Object;)Ljava/lang/Object;
;<=remove0(Lsun/net/www/MimeEntry;)Lsun/net/www/MimeEntry;
	?<9
	ABCelements()Ljava/util/Enumeration;EFGHIjava/util/EnumerationhasMoreElements()ZEKLMnextElement()Ljava/lang/Object;
)OPQmatches(Ljava/lang/String;)ZS
UVWXYjava/lang/StringlastIndexOf(I)I
U[\]	substring(II)Ljava/lang/String;
_`abcjava/lang/Mathmax(II)I
UefgcharAt(I)C
Ui\j(I)Ljava/lang/String;
Ulm-toLowerCase
op'	findByExt
A
)st-getDescription
Uvwxequals(Ljava/lang/Object;)Z
z{'find	}~tempFileTemplateLjava/lang/String;?java/util/Properties
??content.types.user.table
?????java/lang/SystemgetProperty&(Ljava/lang/String;)Ljava/lang/String;?java/io/File
???(Ljava/lang/String;)V
???Iexists?java/io/FileInputStream
???(Ljava/io/File;)V?java/io/FileNotFoundException	????errLjava/io/PrintStream;?java/lang/StringBuilder
??	Warning: 
????append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
???-getPath? mime table not found.
???-toString
?????java/io/PrintStreamprintln?content-types.properties
?????java/lang/ClassgetResourceAsStream)(Ljava/lang/String;)Ljava/io/InputStream;?java/lang/InternalError?default mime table not found
???java/io/BufferedInputStream
???(Ljava/io/InputStream;)V
???
???close?java/lang/Throwable
????
addSuppressed(Ljava/lang/Throwable;)V?java/io/IOException
???-
getMessage
???parse(Ljava/util/Properties;)V?temp.file.template
?7
??
???C
propertyNames
??
???'(Ljava/lang/String;Ljava/lang/String;)V
)??java/util/StringTokenizer?;
???
???I
hasMoreTokens
???-	nextToken
???,(Ljava/lang/String;Lsun/net/www/MimeEntry;)V
???add(Lsun/net/www/MimeEntry;)V?=
U??-trim
?fill>(Lsun/net/www/MimeEntry;Ljava/lang/String;Ljava/lang/String;)Vdescription
UQequalsIgnoreCase
)	?setDescriptionaction


getActionCode(Ljava/lang/String;)I
)	setAction(I)Vapplication
)?
setCommandicon
)?setImageFileNamefile_extensions
)!"?
setExtensions$,
?&'#countTokens	))*+actionKeywords[Ljava/lang/String;
)-.-
toProperty
?/1java/io/FileOutputStream
0?
456getAsProperties()Ljava/util/Properties;
?89:getSecurityManager()Ljava/lang/SecurityManager;<	user.name
>?@A?java/lang/SecurityManagercheckPropertyAccess
CDEF- jdk/internal/util/StaticPropertyuserNameH; customized for J$sun.net.www MIME content-types table
?LMNstore+(Ljava/io/OutputStream;Ljava/lang/String;)V
0?
?QRprintStackTraceTsun/net/www/MimeTable$1
S
WXYZ[java/security/AccessControllerdoPrivileged4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;]java/net/FileNameMap	Signature@Ljava/util/Hashtable;filePreamble
ConstantValue	fileMagicd%#sun.net.www MIME content-types tablemailcapLocationsCodeLineNumberTableLocalVariableTablethis	loadTable()Ljava/net/FileNameMap;mtgetSizegetContentTypeForfileNameentryLsun/net/www/MimeEntry;
StackMapTableiImexts+type
extensionKeyswildeLjava/util/Enumeration;LocalVariableTypeTable0Ljava/util/Enumeration;fnameext
fileExtensionfindByDescriptiongetTempFileTemplate2()Ljava/util/Enumeration;inLjava/io/InputStream;Ljava/io/FileNotFoundException;binLjava/io/BufferedInputStream;Ljava/io/IOException;Ljava/util/Properties;fileLjava/io/File;
userTablePath?java/io/InputStreamattrstypesLjava/util/Enumeration<*>;pairnewEntry	tokenizerLjava/util/StringTokenizer;namevaluegotNameZ'(Ljava/lang/String;)[Ljava/lang/String;listn
extensions
propertiessaveAsProperties(Ljava/io/File;)ZtagsmLjava/lang/SecurityManager;userosLjava/io/FileOutputStream;
SourceFileMimeTable.javaNestMembers?-sun/net/www/MimeTable$DefaultInstanceHolder$1InnerClassesDefaultInstanceHolder!\^_^_
~`aIbace+fY*?*?	Y??*?	Y??*??gH&*IJhi	f??g`	jkf4?K*?g
ghhl!m#f2*?? ?glhi!n?fi*+?$M,?,?(??gpq
rth iopqr?)!??f?2*?+?(+?.W+?2M,??>,??*?,2+?.W????g"y
{|}??+?1?h*st2i2uq v+r?w??!<'fT*?+?6?)M*,?:?g
??h ixpq!<=f?1+?2M,?>,??*?,2?>W????*?+?(?>?)?g??	???"?h*st1i1pq,y+r?w?!{'f?=*?+?6?)M,?.*??@N-?D?-?J?):+?N?????,?g&	????!?,?5?8?;?h4,zq#{|=i=x1pq}#{~r?)E?&'f?RRM+#?T>?+d?ZL+.?T>+/?T?^>+??T?^>?+?d.?+?h?kM*,?n?g*
??
????)?4?C?L?h*RiRO?
Hstr
?U4!p'f@*?+?6?)?g?hi?!?'f?.*?qM,?D?,?J?)N+-?r?u?-????*+?y?g????#?%?(?h*
pq.i.){|}){~r
?E?-f.?|?g?hi!BCf2*??@?g?hi^?!f'û?Y??LM???:?D??Y??YM???3??Y,??N?=:????Y?????,???????????????N-?
??Y??????Y-??:+???ȧ:?ȧ:????":????Y??????Ӷ?????*+?ֱ'03?w}??????m???gV??
??'?0?3?5?V?W?_?c?m?w?}?????????????h\	0??5"{?w$???{??i??
???_d????rt	?3??U?#????U????U???	???U????B???f?F+ڶ??UM,?+ڶ?W,?|+??N-?D?!-?J?U:+??:*???ܱg.?
'2	:
BEh>2x:?FiF?
<~(?|}(??r?U?E&??f?4?)Y+??N??Y,??:????:*-????*-???g"*	-./$0+1.334h>$?4i4x4?	+?q??r?)???f?FN:6??Y+???:??$????:??????N6???*,-???g.89;<=>!?.B7C=GEHhHFiF?FpqD?A?>??2??r?U)UU?f?\,??+-??L
,??+*-???6,??+-??$,??+-??,??+-? ?g.K
LNO(Q2R:TDULWVX[\h*\i\pq\?\?r4?f?2??Y+#??M,?%>?U:6?,??S?????g_`ab c)b/fh>st2i2?&??!?t?+r?U?w?f~ =?(??+?(2????????gj
kljph st i r
??56f?2??Y??L*?qM,?D?,?J?)N+-?(-?,?/W???+?gtu
vw x-y0{h* 
pq2i*??
%{|}
%{~r?
?E"??fD	?M?0Y+?2M*?3N-ڲ|?/W?7:?;?=?B:?7??Y??G??????:-,??Y??I???????K?-,I?K,?8,?O?1N?-N-?P6,?,?O?:?:,?,?O?:??vz}?r??????r???????????gb?????$?,?1?6?M?j?r?v?????????????????????hRM?b??S??1A??{??i??????r??,?0?>?=U??0J?C???0????0???0????0?f(?SY?U?VW?g
1B????S??
S?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy