public interface KcAttachmentService
| Modifier and Type | Method and Description |
|---|---|
String |
checkAndReplaceInvalidCharacters(String text)
This method checks for invalid characters in strings and replaces
them with underscores.
|
String |
checkAndReplaceSpecialCharacters(String text)
This method checks for special characters in strings and replaces
them with underscores.
|
String |
getFileTypeIcon(KcAttachment attachment)
Based on the attachment provided determine and return a path to the icon for the file.
|
String |
getInvalidCharacters(String text)
This method returns the invalid characters in the file name.
|
boolean |
getSpecialCharacter(String text)
This method check the Special characters in the string.
|
String getFileTypeIcon(KcAttachment attachment)
attachment - String getInvalidCharacters(String text)
boolean getSpecialCharacter(String text)
String checkAndReplaceInvalidCharacters(String text)
text - Copyright © 2013 The Kuali Foundation. All Rights Reserved.