Get the name of this folder.
()
| 516 | * Get the name of this folder. |
| 517 | */ |
| 518 | @Override |
| 519 | public synchronized String getName() { |
| 520 | /* Return the last component of this Folder's full name. |
| 521 | * Folder components are delimited by the separator character. |
| 522 | */ |
| 523 | if (name == null) { |
| 524 | try { |
| 525 | name = fullName.substring( |
| 526 | fullName.lastIndexOf(getSeparator()) + 1 |
| 527 | ); |
| 528 | } catch (MessagingException mex) { } |
| 529 | } |
| 530 | return name; |
| 531 | } |
| 532 | |
| 533 | /** |
| 534 | * Get the fullname of this folder. |
nothing calls this directly
no test coverage detected