You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

37 lines
780 B

package com.ims.studentManager.ConfigPackage;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@ComponentScan(basePackages="com.ims")
@PropertySource("classpath:/movieadvisor.properties")
public class AppConfig {
@Value("${file.path}")
private String file;
@Value("${file.csv.separator}")
private String separator;
@Value("${file.csv.list_separator}")
private String listSeparator;
public String getFile() {
return file;
}
public String getSeparator() {
return separator;
}
public String getListSeparator() {
return listSeparator;
}
}