|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.profile2.conversion.ProfileConverter
public class ProfileConverter
Handles the conversion and import of profiles and images. This is not part of the public API.
| Constructor Summary | |
|---|---|
ProfileConverter()
|
|
| Method Summary | |
|---|---|
void |
convertProfileImages()
Convert profile images |
void |
importProfiles(String path)
Import profiles from the given CSV file |
void |
init()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileConverter()
| Method Detail |
|---|
public void init()
public void convertProfileImages()
public void importProfiles(String path)
The CSV file may contain any of the following headings, in any order:
Column headings must match EXACTLY the list above. They do not need to be in the same order, or even all present.
Fields must be comma separated and each field surrounded with double quotes. There must be no spaces between fields.
Only users that do not currently have a profile will be imported.
path - path to CSV file on the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||