equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, 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 |
344 } |
344 } |
345 newObj.parameters = (MimeTypeParameterList)parameters.clone(); |
345 newObj.parameters = (MimeTypeParameterList)parameters.clone(); |
346 return newObj; |
346 return newObj; |
347 } |
347 } |
348 |
348 |
349 private String primaryType; |
349 private transient String primaryType; |
350 private String subType; |
350 private transient String subType; |
351 private MimeTypeParameterList parameters; |
351 private transient MimeTypeParameterList parameters; |
352 |
352 |
353 // below here be scary parsing related things |
353 // below here be scary parsing related things |
354 |
354 |
355 /** |
355 /** |
356 * Determines whether or not a given character belongs to a legal token. |
356 * Determines whether or not a given character belongs to a legal token. |