File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
API/src/main/java/me/innectic/permissify/api/profile Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 99 * @author Innectic
1010 * @since 8/26/2017
1111 */
12- @ AllArgsConstructor
1312public class ProfileSerializer {
14- private final String profileName ;
1513
1614 /**
1715 * Serialize a permissify profile into a permissify profile file
1816 *
1917 * @param profile the profile to serialize
2018 * @param baseDirectory the base of the directory to store the profiles in
19+ * @param profileName the name of the profile
2120 * @return if the profile was successfully stored
2221 */
23- public boolean serialize (PermissifyProfile profile , String baseDirectory ) {
22+ public boolean serialize (PermissifyProfile profile , String baseDirectory , String profileName ) {
2423 try {
2524 FileOutputStream outputStream = new FileOutputStream (baseDirectory + "/profiles/" + profileName + ".permissify" );
2625 ObjectOutputStream out = new ObjectOutputStream (outputStream );
You can’t perform that action at this time.
0 commit comments